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
{
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') {
steps{
archiveArtifacts 'wine_model.h5'
archiveArtifacts 'my_runs/**'
archiveArtifacts 'my_model/**'
}
}
}
post {
success {
build job: 's434788-evaluation/master'
mail body: 'SUCCESS',
subject: 's434788 training',
subject: 's434788 mlflow training',
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
}
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 {
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 {
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'
}
}
}