Fix incorrect ssh command

This commit is contained in:
Tomasz Ziętkiewicz 2021-06-06 23:53:54 +02:00
parent b9c01eace7
commit a79c4de0c4

4
Jenkinsfile vendored
View File

@ -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"
}
}