Run evaluation pipeline after training
This commit is contained in:
parent
2656dc2f91
commit
8ce89f6d9c
@ -26,6 +26,12 @@ pipeline {
|
||||
sh "python train_model.py -e ${params.EPOCHS} -b ${params.BATCHSIZE}"
|
||||
}
|
||||
}
|
||||
stage('Archive model and evaluate it') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: 'model_out', onlyIfSuccessful: true
|
||||
build job: 's444409-evaluation/main/'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
environment {
|
||||
@ -33,11 +39,6 @@ pipeline {
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: 'model_out',
|
||||
onlyIfSuccessful: true
|
||||
}
|
||||
|
||||
success {
|
||||
emailext body: 'SUCCESS', subject: "${env.JOB_NAME}", to: "${env.NOTIFICATION_ADDRESS}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user