diff --git a/Jenkinsfile b/Jenkinsfile index 0c07804..370a464 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,14 +14,9 @@ pipeline { } } - stage('Run Python script') { + stage('Run command in Docker container') { steps { - script { - docker.image('ium_s487178').inside { - sh 'python3 body_performance.py > output.txt' - } - archiveArtifacts 'output.txt' - } + sh 'docker run ium_s487178 python3 ./body_performance.py > output.txt' } } }