diff --git a/Dockerfile_4 b/Dockerfile_4 index 1afcf79..e2446cc 100644 --- a/Dockerfile_4 +++ b/Dockerfile_4 @@ -29,6 +29,4 @@ RUN chmod +x ./train.py RUN chmod +x ./test.py -RUN useradd -r -u 111 jenkins -RUN dvc pull -RUN dvc repro \ No newline at end of file +RUN useradd -r -u 111 jenkins \ No newline at end of file diff --git a/Jenkinsfile_6 b/Jenkinsfile_6 index 8d75b2b..22ff3af 100644 --- a/Jenkinsfile_6 +++ b/Jenkinsfile_6 @@ -8,7 +8,9 @@ pipeline { stage('DVC Commands') { steps { withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { - sh 'dvc remote modify --local ium_ssh_remote password $IUM_SFTP_KEY' + sh 'dvc remote modify --local ium_ssh_remote password $IUM_SFTP_KEY' + sh 'dvc pull' + sh 'dvc repro' } } }