2022-05-23 10:58:50 +02:00
|
|
|
pipeline {
|
|
|
|
agent {
|
2022-05-30 12:09:36 +02:00
|
|
|
dockerfile true
|
|
|
|
}
|
2022-05-23 10:58:50 +02:00
|
|
|
stages {
|
2022-05-30 12:09:36 +02:00
|
|
|
stage('Dvc pull and reproduce') {
|
|
|
|
steps {
|
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's449288', url: 'https://git.wmi.amu.edu.pl/s449288/ium_449288.git']]])
|
|
|
|
withCredentials(
|
2022-05-30 11:40:42 +02:00
|
|
|
[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'
|
2022-05-30 12:03:05 +02:00
|
|
|
sh 'dvc pull'}
|
2022-05-30 12:09:36 +02:00
|
|
|
}
|
|
|
|
}
|
2022-05-23 10:58:50 +02:00
|
|
|
}
|
2022-05-30 12:09:36 +02:00
|
|
|
}
|