pipeline { agent { dockerfile true } stages { stage('Copy Archive') { steps { script { step ([$class: 'CopyArtifact', projectName: 's434700-training', filter: 'model.pt', target: 'model']) step ([$class: 'CopyArtifact', projectName: 's434700-create-dataset', filter: 'train_set.csv', target: 'datasets']) } } } stage('checkout: Check out from version control') { steps { git 'https://git.wmi.amu.edu.pl/s434700/ium_s434700.git' } } stage('evaluation') { steps { sh 'python ./evaluation/eval.py' sh 'python ./evaluation/plot.py' sh 'python ./evaluation/scared-fileobserver.py' sh 'python ./evaluation/scared-mongoobserver.py' } } stage('archiveArtifacts') { steps { archiveArtifacts 'model_results.csv' archiveArtifacts 'model_results.png' archiveArtifacts 'sacred_runs/**' } } } post{ success { mail body: 'SUCCESS EVALUATION', subject: 's434700', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' } failure { mail body: 'FAILURE EVALUATION', subject: 's434700', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' } } }