jenkinsfile change
This commit is contained in:
parent
4f90ab73be
commit
75fc66d10e
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user