jenkinsfile for eval copy
Some checks failed
s470618-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
gedin 2023-05-24 17:14:20 +02:00
parent 4e58dba212
commit 1b1581ac7e

View File

@ -1,13 +1,10 @@
node {
stage('Preparation') {
checkout scm
script {
if (currentBuild.previousBuild) {
copyArtifacts projectName: currentBuild.projectName, filter: 'metrics.txt', fingerprintArtifacts: true, selector: lastSuccessful(), optional: true, target: './train-eval'
}
}
copyArtifacts projectName: 's470618-metrics/master', filter: 'metrics.txt', fingerprintArtifacts: true, selector: lastSuccessful(), optional: true, target: './train-eval'
copyArtifacts projectName: 's470618-training', filter: '*.pt', fingerprintArtifacts: true, selector: lastSuccessful(), target: './train-eval'
}
}
stage('Evaluate metrics') {
sh "pip install matplotlib"
sh "cd train-eval && ./eval.py"