dvc jenkins

This commit is contained in:
Kamila 2022-06-05 11:57:30 +02:00
parent d7f9874464
commit 1387a20d6f

View File

@ -14,7 +14,7 @@ pipeline {
stage('DVC') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444517', url: 'https://git.wmi.amu.edu.pl/s444517/ium_444517.git']]])
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: '3f1a5842-7b5c-437a-ae95-f7e87b1d75e9', url: 'https://git.wmi.amu.edu.pl/s444517/ium_444517.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 pull'