Zaktualizuj 'Jenkinsfile_dvc'
This commit is contained in:
parent
c9cb5695fe
commit
bc5036ef6d
@ -27,15 +27,12 @@ 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 remote list'
|
||||
sh 'cat .dvc/config'
|
||||
sh 'cat .dvc/config.local'
|
||||
sh 'dvc pull'
|
||||
sh 'dvc repro'
|
||||
sh 'ls -al'
|
||||
withCredentials(
|
||||
[sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: 'USER')]) {
|
||||
sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'
|
||||
sh 'dvc pull'
|
||||
sh 'dvc repro'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user