This commit is contained in:
Jakub Henyk 2023-05-13 18:34:03 +02:00
parent f8edb532d5
commit c0a75da646
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -10,7 +10,8 @@ pipeline {
withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) {
sh 'dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp' sh 'dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp'
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 pull'
sh 'dvc repro'
} }
} }
} }