2022-05-23 10:58:50 +02:00
|
|
|
pipeline {
|
|
|
|
agent {
|
2022-05-30 12:10:35 +02:00
|
|
|
dockerfile{
|
|
|
|
dir 'lab10'
|
|
|
|
}
|
2022-05-30 12:09:36 +02:00
|
|
|
}
|
2022-05-23 10:58:50 +02:00
|
|
|
stages {
|
2022-05-30 12:09:36 +02:00
|
|
|
stage('Dvc pull and reproduce') {
|
|
|
|
steps {
|
2022-05-30 12:13:26 +02:00
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 'f695fe86-8cca-47f7-a546-d3bfd1059fd4', url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git']]])
|
2022-05-30 13:08:16 +02:00
|
|
|
sh 'dvc remote modify --local ium_ssh_remote password IUM@2021'
|
2022-05-30 12:47:41 +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
|
|
|
}
|