diff --git a/Jenkinsfile-dvc b/Jenkinsfile-dvc index b42a0c3..96e83a9 100644 --- a/Jenkinsfile-dvc +++ b/Jenkinsfile-dvc @@ -9,9 +9,9 @@ node { sh "chmod +x -R ${env.WORKSPACE}" def dockerImage = docker.build("s424714-model:latest") + withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { dockerImage.inside { - withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { sh 'dvc remote modify --local ium_ssh_remote password $IUM_SFTP_PASS' sh 'dvc pull' sh 'dvc repro'