pipeline { agent { dockerfile true } stages { stage('Stage 1') { steps { echo 'Hello world!' } } stage('Run sacred on nn_train ') { steps { sh 'python3 ./nn_train_sacred.py' archiveArtifacts artifacts: 'sacred/_sources/*, sacred/1/*' sh 'rm -r sacred' } } } }