Cleanup Jenkinsfile
Some checks failed
s434704-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
Wojciech Jarmosz 2021-05-15 02:53:11 +02:00
parent 9e16be7a3e
commit 2a3a047b7a

View File

@ -21,10 +21,18 @@ pipeline {
sh "python3 evaluation.py" sh "python3 evaluation.py"
} }
} }
stage('Save metrics & create chart') { stage("Generate metrics"){
steps { steps {
sh "python3 save_metrics.py ${env.BUILD_ID}" sh "python3 save_metrics.py ${env.BUILD_ID}"
}
}
stage("Generate chart"){
steps {
sh "python3 create_chart.py" sh "python3 create_chart.py"
}
}
stage("Save artifacts") {
steps{
archiveArtifacts 'chart.png' archiveArtifacts 'chart.png'
archiveArtifacts 'bulk_metrics.txt' archiveArtifacts 'bulk_metrics.txt'
archiveArtifacts 'rmse.txt' archiveArtifacts 'rmse.txt'