diff --git a/Jenkinsfile_train b/Jenkinsfile_train index bd918cd..0894bac 100644 --- a/Jenkinsfile_train +++ b/Jenkinsfile_train @@ -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' } } } \ No newline at end of file