This commit is contained in:
MatOgr 2022-05-02 10:59:57 +02:00
parent 993b2ce5bc
commit b829da974b

View File

@ -7,7 +7,7 @@ pipeline {
defaultValue: '5', defaultValue: '5',
description: 'epochs number', description: 'epochs number',
name: 'epochs' name: 'epochs'
), )
string ( string (
defaultValue: '--save', defaultValue: '--save',
description: 'save model after training', description: 'save model after training',
@ -34,7 +34,6 @@ pipeline {
} }
stage('Archive artifacts') { stage('Archive artifacts') {
steps { steps {
archiveArtifacts artifacts: '*data/predictions.csv', onlyIfSuccessful: true archiveArtifacts artifacts: '*data/predictions.csv', onlyIfSuccessful: true
archiveArtifacts artifacts: '*data/model_scripted*', onlyIfSuccessful: true archiveArtifacts artifacts: '*data/model_scripted*', onlyIfSuccessful: true
} }
@ -43,19 +42,19 @@ pipeline {
post { post {
success { success {
emailtext body: 'SUCCESS', subject: "s478841-training", to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' emailtext body: 'SUCCESS', subject: 's478841-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
} }
failure { failure {
emailtext body: 'FAILURE', subject: "s478841-training", to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' emailtext body: 'FAILURE', subject: 's478841-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
} }
unstable { unstable {
emailtext body: 'UNSTABLE', subject: "s478841-training", to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' emailtext body: 'UNSTABLE', subject: 's478841-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
} }
changed { changed {
emailtext body: 'CHANGED', subject: "s478841-training", to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' emailtext body: 'CHANGED', subject: 's478841-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
} }
} }
} }