Volume mapping
This commit is contained in:
parent
17379f6457
commit
6ad202ae8e
@ -1,6 +1,9 @@
|
||||
pipeline {
|
||||
agent {
|
||||
docker { image 's478841-image:latest' }
|
||||
docker {
|
||||
image 's478841-image:latest'
|
||||
args '-v /mlruns:/mlruns'
|
||||
}
|
||||
}
|
||||
parameters {
|
||||
string(
|
||||
@ -41,6 +44,7 @@ pipeline {
|
||||
}
|
||||
stage('Archive artifacts') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: 'mlruns/**', onlyIfSuccessful: true
|
||||
archiveArtifacts artifacts: '*data/predictions.csv', onlyIfSuccessful: true
|
||||
archiveArtifacts artifacts: '*data/model_scripted*', onlyIfSuccessful: true
|
||||
dir('data/training_runs') {
|
||||
@ -52,20 +56,20 @@ pipeline {
|
||||
|
||||
post {
|
||||
success {
|
||||
emailext body: 'SUCCESS', subject: 's478841-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: 'SUCCESS', subject: "${env.JOB_NAME}", to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
build job: 's478841-evaluation/develop'
|
||||
}
|
||||
|
||||
failure {
|
||||
emailext body: 'FAILURE', subject: 's478841-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: 'FAILURE', subject: "${env.JOB_NAME}", to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
|
||||
unstable {
|
||||
emailext body: 'UNSTABLE', subject: 's478841-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: 'UNSTABLE', subject: "${env.JOB_NAME}", to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
|
||||
changed {
|
||||
emailext body: 'CHANGED', subject: 's478841-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: 'CHANGED', subject: "${env.JOB_NAME}", to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user