Jenkins docker.inside()

This commit is contained in:
Dominik Chilla 2019-06-17 19:05:44 +02:00
parent 64f7c61f2e
commit 5ad89471cf

5
Jenkinsfile vendored
View File

@ -24,10 +24,9 @@ pipeline {
stage('Test image') {
steps {
script {
dockerImageObj.inside("--entrypoint=/entrypoint.sh") {
dockerImageObj.inside() {
sh 'echo "INSIDE CONTAINER!"'
sh '/usr/bin/env'
sh '/bin/ps auxwwf'
sh '/usr/bin/python3 /app/sos-milter.py &'
}
}
}