This commit is contained in:
Wojciech Lidwin 2023-05-12 13:38:08 +02:00
parent de97cc32e4
commit b367700c66

View File

@ -13,8 +13,8 @@ node {
stage('Dockerfile'){ stage('Dockerfile'){
def testImage = docker.image('s487197/ium:54') def testImage = docker.image('s487197/ium:54')
testImage.inside{ testImage.inside{
withCredentials([string(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', variable: 'IUM_SFTP_KEY')]) { withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) {
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/' 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 remote modify --local ium_ssh_remote password IUM@2021'
sh 'dvc pull' sh 'dvc pull'
} }