Fix incorrect ssh command
This commit is contained in:
parent
b9c01eace7
commit
a79c4de0c4
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -29,8 +29,8 @@ node {
|
|||||||
|
|
||||||
stage("DVC"){
|
stage("DVC"){
|
||||||
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) {
|
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) {
|
||||||
ssh-copy-id ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl
|
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 remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'
|
||||||
sh "dvc pull"
|
sh "dvc pull"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user