From bd413e5ca6cd9c431e7f709959bf182c48674123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pokrywka?= Date: Sun, 5 Jun 2022 15:35:43 +0200 Subject: [PATCH] dvc refactoring --- .dvc/config | 2 +- dvc.Jenkinsfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.dvc/config b/.dvc/config index ce375a8..c02d6a2 100644 --- a/.dvc/config +++ b/.dvc/config @@ -1,4 +1,4 @@ [core] remote = ium_ssh_remote ['remote "ium_ssh_remote"'] - url = ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl + url = ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp diff --git a/dvc.Jenkinsfile b/dvc.Jenkinsfile index ed9d201..50cdb6b 100644 --- a/dvc.Jenkinsfile +++ b/dvc.Jenkinsfile @@ -19,7 +19,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 -f -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'