This commit is contained in:
parent
148a1f4e17
commit
9b0398a978
@ -31,12 +31,15 @@ pipeline {
|
||||
archiveArtifacts 'eval.txt'
|
||||
}
|
||||
}
|
||||
stage('sendMail') {
|
||||
steps{
|
||||
emailext body: currentBuild.result ?: 'SUCCESS',
|
||||
subject: 's434766 evaluation',
|
||||
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
mail body: 'SUCCESS EVALUATION', subject: 's434766', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
|
||||
failure {
|
||||
mail body: 'FAILURE EVALUATION', subject: 's434766', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -29,22 +29,26 @@ pipeline {
|
||||
stage('Docker'){
|
||||
steps{
|
||||
sh 'python3 "./stroke-pytorch.py" ${BATCH_SIZE} ${EPOCHS} > pred.txt'
|
||||
sh 'python3 "./sacred-pytorch1.py"
|
||||
sh 'python3 "./sacred-pytorch2.py"
|
||||
}
|
||||
}
|
||||
stage('archiveArtifacts') {
|
||||
steps{
|
||||
archiveArtifacts 'ium_s434766/**'
|
||||
archiveArtifacts 'pred.txt'
|
||||
archiveArtifacts 'stroke.pth'
|
||||
}
|
||||
}
|
||||
|
||||
stage('sendMail') {
|
||||
steps{
|
||||
emailext body: currentBuild.result ?: 'SUCCESS',
|
||||
subject: 's434766 training',
|
||||
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
mail body: 'SUCCESS TRAINING', subject: 's434766', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
|
||||
failure {
|
||||
mail body: 'FAILURE TRAINING', subject: 's434766', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user