From d14b4550f5c7707d71a51aa0bfcb4550e4591c11 Mon Sep 17 00:00:00 2001 From: Jakub Henyk Date: Sat, 13 May 2023 18:38:35 +0200 Subject: [PATCH] sad --- Dockerfile_4 | 4 +--- Jenkinsfile_6 | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile_4 b/Dockerfile_4 index 1afcf79..e2446cc 100644 --- a/Dockerfile_4 +++ b/Dockerfile_4 @@ -29,6 +29,4 @@ RUN chmod +x ./train.py RUN chmod +x ./test.py -RUN useradd -r -u 111 jenkins -RUN dvc pull -RUN dvc repro \ No newline at end of file +RUN useradd -r -u 111 jenkins \ No newline at end of file diff --git a/Jenkinsfile_6 b/Jenkinsfile_6 index 8d75b2b..22ff3af 100644 --- a/Jenkinsfile_6 +++ b/Jenkinsfile_6 @@ -8,7 +8,9 @@ pipeline { stage('DVC Commands') { steps { withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { - sh 'dvc remote modify --local ium_ssh_remote password $IUM_SFTP_KEY' + sh 'dvc remote modify --local ium_ssh_remote password $IUM_SFTP_KEY' + sh 'dvc pull' + sh 'dvc repro' } } }