test parameters
This commit is contained in:
parent
3f8b863554
commit
5f0bf0448a
@ -18,15 +18,13 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('bash script') {
|
stage('bash script') {
|
||||||
steps {
|
steps {
|
||||||
withEnv(["BRANCH=${params.BRANCH}"]) {
|
copyArtifacts filter: '*', projectName: 's444356-training/${BRANCH}', selector: buildParameter('BUILD_SELECTOR')
|
||||||
copyArtifacts filter: '*', projectName: 's444463-training/$BRANCH'
|
|
||||||
copyArtifacts filter: '*', projectName: 's444463-create-dataset'
|
copyArtifacts filter: '*', projectName: 's444463-create-dataset'
|
||||||
sh 'python3 ./evaluation.py'
|
sh 'python3 ./evaluation.py'
|
||||||
archiveArtifacts artifacts: "metrics.txt" "metrics.png"
|
archiveArtifacts artifacts: "metrics.txt" "metrics.png"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
emailext body: "Model successfully evaluation", subject: "Model evaluation 444463", to: "e19191c5.uam.onmicrosoft.com@emea.teams.ms"
|
emailext body: "Model successfully evaluation", subject: "Model evaluation 444463", to: "e19191c5.uam.onmicrosoft.com@emea.teams.ms"
|
||||||
|
Loading…
Reference in New Issue
Block a user