This commit is contained in:
s444501 2022-06-04 20:05:01 +02:00
parent b63d475db3
commit 0adc8c3747
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@ RUN pip3 install mlflow
RUN pip3 install dvc
RUN pip3 install dvc[ssh]
RUN useradd -r -u 111 jenkins
RUN mkdir /.kaggle && chmod o+w /.kaggle
WORKDIR /ium

View File

@ -14,7 +14,7 @@ pipeline {
stage('DVC') {
steps {
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) {
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 keyfile $IUM_SFTP_KEY'
sh 'dvc pull'
sh 'dvc reproduce'