diff --git a/JenkinsFileDvc b/JenkinsFileDvc index 4fa47a0..780b8bd 100644 --- a/JenkinsFileDvc +++ b/JenkinsFileDvc @@ -23,7 +23,7 @@ pipeline { stages { stage('dvc') { steps { - withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: '')]) { + withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) { copyArtifacts fingerprintArtifacts: true, projectName: 's434732-create-dataset', selector: buildParameter('WHICH_BUILD') sh 'dvc remote add -f -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp' sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'