Task 2 Part 2
s444517-evaluation/pipeline/head There was a failure building this commit
Details
s444517-evaluation/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
53453cfeac
commit
89eed26a4a
|
@ -21,7 +21,7 @@ pipeline {
|
||||||
stage('Copy from different Pipeline') {
|
stage('Copy from different Pipeline') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-create-dataset', selector: lastSuccessful()
|
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-create-dataset', selector: lastSuccessful()
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-training/${BRANCH}', selector: buildParameter('BUILD_SELECTOR')
|
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-training/${params.BRANCH}', selector: buildParameter('BUILD_SELECTOR')
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-evaluation/master', selector: lastSuccessful(), optional: true
|
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-evaluation/master', selector: lastSuccessful(), optional: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,8 @@ pipeline {
|
||||||
stage('Get data save artifacts') {
|
stage('Get data save artifacts') {
|
||||||
steps {
|
steps {
|
||||||
sh 'python3 ./nn_train_eval.py'
|
sh 'python3 ./nn_train_eval.py'
|
||||||
archiveArtifacts artifacts: 'my_model/saved_model.pb, metrics.txt, output.jpg, current_results.txt'
|
metrics = readFile(file: 'current_results.txt')
|
||||||
|
archiveArtifacts artifacts: 'my_model/saved_model.pb, metrics.txt, output.jpg'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,7 +38,7 @@ pipeline {
|
||||||
post {
|
post {
|
||||||
|
|
||||||
always {
|
always {
|
||||||
emailext body: "${currentBuild.currentResult} ${readFile(file: 'current_results.txt')}", subject: 's444517_build_status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
emailext body: "${currentBuild.currentResult} ${metrics}", subject: 's444517_build_status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue