Fix Jenkinsfile

This commit is contained in:
Kamil Guttmann 2022-06-05 18:54:24 +02:00
parent 2a42f9196b
commit 896fbbd99c

View File

@ -10,7 +10,7 @@ pipeline {
} }
stage("DVC"){ stage("DVC"){
steps { steps {
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: 'USER'), string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: 'USER')]) {
sh 'dvc remote list' sh 'dvc remote list'
sh 'dvc remote default' sh 'dvc remote default'
sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY' sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'