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
64f7c61f2e
commit
5ad89471cf
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -24,10 +24,9 @@ pipeline {
|
|||||||
stage('Test image') {
|
stage('Test image') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
dockerImageObj.inside("--entrypoint=/entrypoint.sh") {
|
dockerImageObj.inside() {
|
||||||
sh 'echo "INSIDE CONTAINER!"'
|
sh 'echo "INSIDE CONTAINER!"'
|
||||||
sh '/usr/bin/env'
|
sh '/usr/bin/python3 /app/sos-milter.py &'
|
||||||
sh '/bin/ps auxwwf'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user