This commit is contained in:
Jakub Henyk 2023-05-13 18:37:26 +02:00
parent 9e789ec5ec
commit 763cb3e0ae
2 changed files with 4 additions and 4 deletions

View File

@ -29,4 +29,6 @@ RUN chmod +x ./train.py
RUN chmod +x ./test.py
RUN useradd -r -u 111 jenkins
RUN useradd -r -u 111 jenkins
RUN dvc pull
RUN dvc repro

View File

@ -8,9 +8,7 @@ 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 pull'
sh 'dvc repro'
sh 'dvc remote modify --local ium_ssh_remote password $IUM_SFTP_KEY'
}
}
}