Zaktualizuj 'Jenkinsfile_dvc'
This commit is contained in:
parent
32143e2da5
commit
7db4910d29
@ -25,15 +25,11 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
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 remote modify --local ium_ssh_remote password IUM@2021'
|
||||
sh 'dvc pull'
|
||||
sh 'dvc repro'
|
||||
}
|
||||
stage("DVC"){
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user