This commit is contained in:
Jakub Henyk 2023-05-13 18:38:35 +02:00
parent 763cb3e0ae
commit d14b4550f5
2 changed files with 4 additions and 4 deletions

View File

@ -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
RUN useradd -r -u 111 jenkins

View File

@ -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'
}
}
}