jenkinsfile for eval copy
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
4e58dba212
commit
1b1581ac7e
|
@ -1,13 +1,10 @@
|
||||||
node {
|
node {
|
||||||
stage('Preparation') {
|
stage('Preparation') {
|
||||||
checkout scm
|
checkout scm
|
||||||
script {
|
|
||||||
if (currentBuild.previousBuild) {
|
copyArtifacts projectName: 's470618-metrics/master', filter: 'metrics.txt', fingerprintArtifacts: true, selector: lastSuccessful(), optional: true, target: './train-eval'
|
||||||
copyArtifacts projectName: currentBuild.projectName, 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'
|
copyArtifacts projectName: 's470618-training', filter: '*.pt', fingerprintArtifacts: true, selector: lastSuccessful(), target: './train-eval'
|
||||||
}
|
}
|
||||||
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"
|
||||||
|
|
Loading…
Reference in New Issue