From 75a10ee7f05e40eb3a0d2298da95adcdcac6c7ab Mon Sep 17 00:00:00 2001 From: Kamil Guttmann Date: Sun, 5 Jun 2022 16:51:30 +0200 Subject: [PATCH] Fix Jenkinsfile --- Jenkinsfile.dvc_job | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile.dvc_job b/Jenkinsfile.dvc_job index 452b7a6..1ac230d 100644 --- a/Jenkinsfile.dvc_job +++ b/Jenkinsfile.dvc_job @@ -12,9 +12,10 @@ pipeline { steps { withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: 'USER')]) { sh "dvc remote list" - sh "dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY" - sh "dvc pull" - sh "dvc repro" + sh 'dvc remote add -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' + sh 'dvc pull' + sh 'dvc repro' } } }