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}"
|
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 {
|
environment {
|
||||||
@ -33,11 +39,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
|
||||||
archiveArtifacts artifacts: 'model_out',
|
|
||||||
onlyIfSuccessful: true
|
|
||||||
}
|
|
||||||
|
|
||||||
success {
|
success {
|
||||||
emailext body: 'SUCCESS', subject: "${env.JOB_NAME}", to: "${env.NOTIFICATION_ADDRESS}"
|
emailext body: 'SUCCESS', subject: "${env.JOB_NAME}", to: "${env.NOTIFICATION_ADDRESS}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user