diff --git a/Dockerfile b/Dockerfile index bc44445..e875e8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get install zip unzip --yes WORKDIR /app - +RUN useradd -r -u 111 jenkins COPY ./deepl.py . # COPY ./MLProject . COPY ./evaluation.py . diff --git a/dvc.Jenkinsfile b/dvc.Jenkinsfile index 0306b08..4bcf0c9 100644 --- a/dvc.Jenkinsfile +++ b/dvc.Jenkinsfile @@ -21,7 +21,6 @@ pipeline { [sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: 's444463', usernameVariable: 's444463')]) { sh 'dvc remote add -f -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp' sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY' - sh 'LOGNAME=s444463' sh 'dvc pull' sh 'dvc repro' sh ll