From a79c4de0c4facecacc4767ec0a5f50603e49650a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Zi=C4=99tkiewicz?= Date: Sun, 6 Jun 2021 23:53:54 +0200 Subject: [PATCH] Fix incorrect ssh command --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" } }