mirror of
https://github.com/chillout2k/sos-milter.git
synced 2025-12-11 01:30:19 +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') {
|
||||
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 &'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user