pipeline { agent none stages { stage('Copy') { agent { dockerfile true } steps { copyArtifacts projectName: 's444417-create-dataset' sh 'ls -la' } } stage('archive model') { steps { archiveArtifacts '/saved_model/my_model' } } } post { always { emailext body: "${currentBuild.currentResult}", subject: 's444417-testing build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' } } }