From 93658c5c7c0321ae25562170103b954f6582fb42 Mon Sep 17 00:00:00 2001 From: michalzareba Date: Sat, 12 Jun 2021 18:01:15 +0200 Subject: [PATCH] Add dvc yaml solution lab10 --- Jenkinsfile_DVC | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile_DVC b/Jenkinsfile_DVC index a61943d..e89ea88 100644 --- a/Jenkinsfile_DVC +++ b/Jenkinsfile_DVC @@ -13,15 +13,15 @@ pipeline{ } stage("DVC"){ - withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { steps{ - sh 'pip install dvc' - sh 'pip install dvc[ssh] paramiko' - 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 password $IUM_SFTP_KEY" - sh "dvc pull" - sh "dvc reproduce" + withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { + sh 'pip install dvc' + sh 'pip install dvc[ssh] paramiko' + 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 password $IUM_SFTP_KEY" + sh "dvc pull" + sh "dvc reproduce" }} } }