From 4458e6503420e5e0d40cfab29df3efcefcca0e15 Mon Sep 17 00:00:00 2001 From: Adrian Charkiewicz Date: Sun, 5 Jun 2022 16:44:27 +0200 Subject: [PATCH] pass dvc --- Jenkinsfile_dvc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile_dvc b/Jenkinsfile_dvc index 75c330a..cbfc80e 100644 --- a/Jenkinsfile_dvc +++ b/Jenkinsfile_dvc @@ -3,12 +3,13 @@ pipeline { dockerfile true } stages { - stage('Dvc pull and reproduce') { + stage('DVC') { steps { checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444354', url: 'https://git.wmi.amu.edu.pl/s444354/ium_444354.git']]]) withCredentials( [sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: 'USER')]) { sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY' + sh 'dvc remote modify --local ium_ssh_remote password IUM@2021' sh 'dvc pull' sh 'dvc repro'} }