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