init commit

This commit is contained in:
Dominik Strzako 2021-05-23 18:36:41 +02:00
parent 79b3f758a0
commit b30d32769a

View File

@ -31,35 +31,32 @@ pipeline {
steps steps
{ {
catchError { catchError {
sh 'python3.8 Zadanie_06_and_07_training.py ${BATCH_SIZE} ${EPOCHS}' sh 'python3.8 Zadanie_08_and_09_MLflow.py ${BATCH_SIZE} ${EPOCHS}'
} }
} }
} }
stage('Archive artifacts') { stage('Archive artifacts') {
steps{ steps{
archiveArtifacts 'wine_model.h5' archiveArtifacts 'my_model/**'
archiveArtifacts 'my_runs/**'
} }
} }
} }
post { post {
success { success {
build job: 's434788-evaluation/master'
mail body: 'SUCCESS', mail body: 'SUCCESS',
subject: 's434788 training', subject: 's434788 mlflow training',
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
} }
unstable { unstable {
mail body: 'UNSTABLE', subject: 's434788 training', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' mail body: 'UNSTABLE', subject: 's434788 mlflow training', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
} }
failure { failure {
mail body: 'FAILURE', subject: 's434788 training', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' mail body: 'FAILURE', subject: 's434788 mlflow training', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
} }
changed { changed {
mail body: 'CHANGED', subject: 's434788 training', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' mail body: 'CHANGED', subject: 's434788 mlflow training', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
} }
} }
} }