diff --git a/Jenkinsfile.dvc_job b/Jenkinsfile.dvc_job index 452b7a6..1ac230d 100644 --- a/Jenkinsfile.dvc_job +++ b/Jenkinsfile.dvc_job @@ -12,9 +12,10 @@ pipeline { steps { withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: 'USER')]) { sh "dvc remote list" - sh "dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY" - sh "dvc pull" - sh "dvc repro" + sh 'dvc remote add -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 'dvc pull' + sh 'dvc repro' } } }