Zaktualizuj 'Jenkinsfile_dvc'

This commit is contained in:
Kornelia Girejko 2022-06-05 23:29:07 +02:00
parent 350b23fe4a
commit 2628fe876d

View File

@ -25,11 +25,14 @@ pipeline {
}
}
stage("DVC"){
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) {
stage('DVC'){
steps{
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')])
{
sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'
sh 'dvc repro'
}
}
}
}
}
}