test mail
This commit is contained in:
parent
00e1272c10
commit
18c3c2c8c9
@ -31,7 +31,9 @@ pipeline {
|
||||
{
|
||||
steps
|
||||
{
|
||||
sh 'python3.8 train.py ${params.BATCH_SIZE} ${params.EPOCHS}'
|
||||
catchError {
|
||||
sh 'python3.8 train.py ${BATCH_SIZE} ${EPOCHS}'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('archive artifacts') {
|
||||
@ -41,7 +43,7 @@ pipeline {
|
||||
}
|
||||
stage('send email') {
|
||||
steps {
|
||||
emailext body: 'build status: ${currentBuild.result}',
|
||||
emailext body: currentBuild.result,
|
||||
subject: 's434760 - train',
|
||||
to: 'annnow19@st.amu.edu.pl'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user