jenkinsfile change
This commit is contained in:
parent
196c49199c
commit
d21141d9e3
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -14,14 +14,9 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Run Python script') {
|
stage('Run command in Docker container') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
sh 'docker run ium_s487178 python3 ./body_performance.py > output.txt'
|
||||||
docker.image('ium_s487178').inside {
|
|
||||||
sh 'python3 body_performance.py > output.txt'
|
|
||||||
}
|
|
||||||
archiveArtifacts 'output.txt'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user