jenkinsfile change

This commit is contained in:
s487178 2023-04-05 22:22:30 +02:00
parent 4f90ab73be
commit 75fc66d10e

9
Jenkinsfile vendored
View File

@ -14,9 +14,14 @@ pipeline {
}
}
stage('Run command in Docker container') {
stage('Run Python script') {
steps {
sh 'docker run ium_s487178 python3 ./body_performance.py'
script {
docker.image('ium_s487178').inside {
sh 'python my_script.py > output.txt'
}
archiveArtifacts 'output.txt'
}
}
}
}