pipeline { agent { docker { image 'korneliag/ium478815:1.0' } } stages { stage('Script'){ steps { copyArtifacts filter: '*', projectName: 's478815-create-dataset' sh 'python3 ./biblioteka_DL.py' archiveArtifacts artifacts: 'output.txt', followSymlinks: false } } } post { success { emailext body: 'SUCCESS', subject: 's478815-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' } failure { emailext body: 'FAILURE', subject: 's478815-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms' } } }