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