2021-06-11 23:35:00 +02:00
|
|
|
pipeline {
|
2021-06-12 00:19:36 +02:00
|
|
|
agent {
|
|
|
|
docker { image 'shroomy/ium:6' }
|
|
|
|
}
|
2021-06-11 23:35:00 +02:00
|
|
|
stages {
|
|
|
|
stage('Test') {
|
|
|
|
steps {
|
|
|
|
sh 'dvc remote add -f -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp'
|
|
|
|
sh 'dvc remote list'
|
|
|
|
sh 'dvc remote modify --local ium_ssh_remote password IUM@2021'
|
|
|
|
sh 'dvc pull'
|
|
|
|
sh "dvc reproduce"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
post {
|
|
|
|
success {
|
2021-06-11 23:41:02 +02:00
|
|
|
archiveArtifacts 'vgsales_model_dvc.h5'
|
2021-06-11 23:35:00 +02:00
|
|
|
|
|
|
|
mail body: 'SUCCESS',
|
|
|
|
subject: 's434695 DVC',
|
|
|
|
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|