diff --git a/Jenkinsfile_dvc b/Jenkinsfile_dvc index 6c42134..8ad5da9 100644 --- a/Jenkinsfile_dvc +++ b/Jenkinsfile_dvc @@ -13,8 +13,8 @@ node { stage('Dockerfile'){ def testImage = docker.image('s487197/ium:54') testImage.inside{ - withCredentials([string(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', variable: 'IUM_SFTP_KEY')]) { - sh 'dvc remote modify --local ium_ssh_remote keyfile https://tzietkiewicz.vm.wmi.amu.edu.pl:8080/credentials/store/system/domain/_/credential/48ac7004-216e-4260-abba-1fe5db753e18/' + withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { + sh 'dvc remote modify --local ium_ssh_remote keyfile 48ac7004-216e-4260-abba-1fe5db753e18' sh 'dvc remote modify --local ium_ssh_remote password IUM@2021' sh 'dvc pull' }