From 2a3a047b7a728e0facdc2a24fad422e63ce8d34b Mon Sep 17 00:00:00 2001 From: Wojciech Jarmosz Date: Sat, 15 May 2021 02:53:11 +0200 Subject: [PATCH] Cleanup Jenkinsfile --- Jenkinsfile_eval | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile_eval b/Jenkinsfile_eval index f7b291f..27e10a2 100644 --- a/Jenkinsfile_eval +++ b/Jenkinsfile_eval @@ -21,10 +21,18 @@ pipeline { sh "python3 evaluation.py" } } - stage('Save metrics & create chart') { - steps{ + stage("Generate metrics"){ + steps { sh "python3 save_metrics.py ${env.BUILD_ID}" + } + } + stage("Generate chart"){ + steps { sh "python3 create_chart.py" + } + } + stage("Save artifacts") { + steps{ archiveArtifacts 'chart.png' archiveArtifacts 'bulk_metrics.txt' archiveArtifacts 'rmse.txt'