jenkinsfile change

This commit is contained in:
s487178 2023-04-05 22:28:19 +02:00
parent 196c49199c
commit d21141d9e3

9
Jenkinsfile vendored
View File

@ -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'
}
}
}