PLIS PLIS

This commit is contained in:
Jakub Henyk 2023-05-13 18:30:36 +02:00
parent af700cb19f
commit 0804770f6b
2 changed files with 4 additions and 2 deletions

View File

@ -30,6 +30,4 @@ RUN chmod +x ./test.py
RUN useradd -r -u 111 jenkins
#RUN export GIT_PYTHON_GIT_EXECUTABLE=/mingw64/bin/git
RUN dvc pull
RUN dvc repro

View File

@ -7,6 +7,10 @@ pipeline {
stages {
stage('Archive Output') {
steps {
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 modify --local ium_ssh_remote password $IUM_SFTP_KEY'
sh 'dvc pull'
archiveArtifacts 'metrics.txt'
}
}