diff --git a/Jenkinsfile b/Jenkinsfile index df8dddf..8089524 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,8 +29,8 @@ node { stage("DVC"){ withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) { - ssh-copy-id ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl - sh "dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY" + sh 'ssh ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl -i $IUM_SFTP_KEY' + sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY' sh "dvc pull" } }