Zaktualizuj 'Jenkinsfile_dvc'
This commit is contained in:
parent
9822c83e77
commit
eb0c3b9778
@ -13,10 +13,10 @@ pipeline {
|
|||||||
stage("DVC"){
|
stage("DVC"){
|
||||||
steps {
|
steps {
|
||||||
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: 'USER')]) {
|
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: 'USER')]) {
|
||||||
sh '${WORKSPACE}/lib/jenkins/workspace/s478815-dvc@tmp/durable-8761fc10/'
|
|
||||||
sh 'dvc remote add -f -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl'
|
sh 'dvc remote add -f -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl'
|
||||||
sh 'dvc remote modify --local ium_ssh_remote keyfile $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 modify --local ium_ssh_remote password IUM@2021'
|
||||||
|
sh 'dvc push'
|
||||||
sh 'dvc pull'
|
sh 'dvc pull'
|
||||||
sh 'dvc repro'
|
sh 'dvc repro'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user