added metrics to body of mail in evaluation
This commit is contained in:
parent
cd2a5f7265
commit
fdfd0dc4cd
@ -37,12 +37,19 @@ pipeline {
|
||||
sh 'python3 ./evaluation.py'
|
||||
archiveArtifacts 'eval.csv, metrics.png'
|
||||
|
||||
script {
|
||||
metric = sh (
|
||||
script: 'tail -1 eval.csv',
|
||||
returnStdout: true
|
||||
).trim()
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
emailext body: "${currentBuild.currentResult}", subject: '444354-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
emailext body: "${currentBuild.currentResult}, metrics of MAE, MSE, RMSE: ${metric}", subject: '444354-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user