pipeline { agent { dockerfile true } stages { stage('Copy') { steps { copyArtifacts projectName: 's444417-create-dataset' sh 'ls -la' sh 'python3 ./src/trainScript.py 6' } } stage('Archive') { steps { dir('saved_model') { archiveArtifacts artifacts: '**' } } } stage('Starting eval job') { steps { build job: 's444417-evaluation/master', wait: true } } } options { copyArtifactPermission('s444417-evaluation'); } post { always { emailext body: "${currentBuild.currentResult}", subject: 's444417-testing build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' } } }