mirror of
https://github.com/chillout2k/sos-milter.git
synced 2025-12-12 18:10:18 +00:00
Jenkins docker.inside()
This commit is contained in:
parent
ddc7ef18a6
commit
64f7c61f2e
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -24,7 +24,7 @@ pipeline {
|
|||||||
stage('Test image') {
|
stage('Test image') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
dockerImageObj.inside("python3") {
|
dockerImageObj.inside("--entrypoint=/entrypoint.sh") {
|
||||||
sh 'echo "INSIDE CONTAINER!"'
|
sh 'echo "INSIDE CONTAINER!"'
|
||||||
sh '/usr/bin/env'
|
sh '/usr/bin/env'
|
||||||
sh '/bin/ps auxwwf'
|
sh '/bin/ps auxwwf'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user