pipeline { agent { docker { image 'kubakonieczny/ium:v1.0' } } stages { stage('docker') { steps { sh ''' ./app/script.sh >> stats.txt ''' } } stage('archive artifacts') { steps { archiveArtifacts 'stats.txt' } } } }