metric fix
This commit is contained in:
parent
ee8c2808d1
commit
436ae7baf2
@ -34,12 +34,6 @@ pipeline {
|
|||||||
copyArtifacts projectName: "s444417-training/${params.BRANCH}/", selector: buildParameter('BUILD_SELECTOR'), optional: true
|
copyArtifacts projectName: "s444417-training/${params.BRANCH}/", selector: buildParameter('BUILD_SELECTOR'), optional: true
|
||||||
sh 'python3 ./src/evalScript.py'
|
sh 'python3 ./src/evalScript.py'
|
||||||
archiveArtifacts 'trainResults.csv'
|
archiveArtifacts 'trainResults.csv'
|
||||||
sh "ls -la"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('get eval value') {
|
|
||||||
steps {
|
|
||||||
script {
|
|
||||||
metric = sh (
|
metric = sh (
|
||||||
script: 'trainResults.csv',
|
script: 'trainResults.csv',
|
||||||
returnStdout: true
|
returnStdout: true
|
||||||
@ -47,7 +41,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
emailext body: "${currentBuild.currentResult}, (number, loss): ${metric}", subject: 's444417-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
emailext body: "${currentBuild.currentResult}, (number, loss): ${metric}", subject: 's444417-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||||
|
Loading…
Reference in New Issue
Block a user