Zaktualizuj 'Jenkinsfile_dvc'

This commit is contained in:
Kornelia Girejko 2022-06-05 23:54:16 +02:00
parent 668205fa99
commit 9822c83e77

View File

@ -13,6 +13,7 @@ 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'