diff --git a/Jenkinsfile-train b/Jenkinsfile-train index 604cd31..92d5fcf 100644 --- a/Jenkinsfile-train +++ b/Jenkinsfile-train @@ -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}" }