Task 2 Part 2
This commit is contained in:
parent
af89bf5ec2
commit
4f6b9471c2
@ -29,6 +29,9 @@ 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'
|
||||||
|
script {
|
||||||
|
metrics = readFile(file: 'current_results.txt')
|
||||||
|
}
|
||||||
archiveArtifacts artifacts: 'my_model/saved_model.pb, metrics.txt, output.jpg'
|
archiveArtifacts artifacts: 'my_model/saved_model.pb, metrics.txt, output.jpg'
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -37,7 +40,7 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
|
|
||||||
always {
|
always {
|
||||||
emailext body: "${currentBuild.currentResult}", 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
Block a user