From 204df976c243db7f49f89c565c388d01ceefa49a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pokrywka?= Date: Sun, 5 Jun 2022 15:52:47 +0200 Subject: [PATCH] dvc refactoring --- Dockerfile | 2 +- dvc.Jenkinsfile | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bc44445..e875e8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get install zip unzip --yes WORKDIR /app - +RUN useradd -r -u 111 jenkins COPY ./deepl.py . # COPY ./MLProject . COPY ./evaluation.py . diff --git a/dvc.Jenkinsfile b/dvc.Jenkinsfile index 0306b08..4bcf0c9 100644 --- a/dvc.Jenkinsfile +++ b/dvc.Jenkinsfile @@ -21,7 +21,6 @@ pipeline { [sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: 's444463', usernameVariable: 's444463')]) { 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 'LOGNAME=s444463' sh 'dvc pull' sh 'dvc repro' sh ll