From 75928523db1e5d971864f3cbc6884c0ceb78a389 Mon Sep 17 00:00:00 2001 From: piotr6789 Date: Fri, 11 Jun 2021 19:14:37 +0200 Subject: [PATCH] changed remote --- dvc/Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dvc/Jenkinsfile b/dvc/Jenkinsfile index 8563849..93b7666 100644 --- a/dvc/Jenkinsfile +++ b/dvc/Jenkinsfile @@ -18,8 +18,11 @@ pipeline { stage("DVC"){ withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: '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 init -f" + 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 reproduce" } } }