jenkinsfile for eval fixed
s470618-evaluation/pipeline/head There was a failure building this commit
Details
s470618-evaluation/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
cea42abe41
commit
8555888ad1
|
@ -3,18 +3,16 @@ node {
|
||||||
checkout scm
|
checkout scm
|
||||||
copyArtifacts projectName: 's470618-metrics', filter: 'metrics.txt', fingerprintArtifacts: true, selector: lastSuccessful(), optional: true, target: './train-eval'
|
copyArtifacts projectName: 's470618-metrics', filter: 'metrics.txt', fingerprintArtifacts: true, selector: lastSuccessful(), optional: true, target: './train-eval'
|
||||||
copyArtifacts projectName: 's470618-training', filter: '*.pt', fingerprintArtifacts: true, selector: lastSuccessful(), target: '.'
|
copyArtifacts projectName: 's470618-training', filter: '*.pt', fingerprintArtifacts: true, selector: lastSuccessful(), target: '.'
|
||||||
|
}
|
||||||
stage('Evaluate metrics') {
|
stage('Evaluate metrics') {
|
||||||
sh "pip install matplotlib"
|
sh "pip install matplotlib"
|
||||||
sh "cd train-eval && ./eval.py"
|
sh "cd train-eval && ./eval.py"
|
||||||
sh "./plot_metrics.py"
|
sh "./plot_metrics.py"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
stage('artifacts') {
|
stage('artifacts') {
|
||||||
echo 'saving artifacts'
|
echo 'saving artifacts'
|
||||||
archiveArtifacts 'metrics.txt', 'prediction.tsv', 'metrics.png'
|
archiveArtifacts 'metrics.txt', 'prediction.tsv', 'metrics.png'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue