From ff4660b61de63c8f3e209d04ab472c59c32ef1d3 Mon Sep 17 00:00:00 2001 From: Adam Wojdyla Date: Sun, 5 Jun 2022 10:18:56 +0200 Subject: [PATCH] force add remote --- Jenkinsfile_dvc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile_dvc b/Jenkinsfile_dvc index e8660f2..4079257 100644 --- a/Jenkinsfile_dvc +++ b/Jenkinsfile_dvc @@ -12,7 +12,7 @@ pipeline { steps { withCredentials( [sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: '')]) { - sh 'dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp' + sh 'dvc remote add -d -f 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'