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