dvc jenkins

This commit is contained in:
Kamila 2022-06-05 12:12:29 +02:00
parent 1387a20d6f
commit 664a55bb69
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ pipeline {
stage('DVC') {
steps {
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']]])
sh 'ls'
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'