From cac8c302f6a32e7e959bbb07b002c735886a5725 Mon Sep 17 00:00:00 2001 From: michalzareba Date: Sat, 12 Jun 2021 18:00:22 +0200 Subject: [PATCH] Add dvc yaml solution lab10 --- Jenkinsfile_DVC | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile_DVC b/Jenkinsfile_DVC index 5161dcf..a61943d 100644 --- a/Jenkinsfile_DVC +++ b/Jenkinsfile_DVC @@ -14,6 +14,7 @@ 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" @@ -21,7 +22,7 @@ pipeline{ sh "dvc remote modify --local ium_ssh_remote password $IUM_SFTP_KEY" sh "dvc pull" sh "dvc reproduce" - } + }} } } } \ No newline at end of file