pipeline { agent { docker { image 'kubakonieczny/ium:v1.0' } } stages { stage('docker') { steps { sh ''' ls -lah python3 python_script.py >> stats.txt ''' } } stage('archive artifacts') { steps { archiveArtifacts 'stats.txt' } } } }