CI: Add --privileged flag to docker options
authorGeorge Joseph <gjoseph@digium.com>
Tue, 24 Jul 2018 10:39:30 +0000 (04:39 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 24 Jul 2018 10:40:54 +0000 (04:40 -0600)
Change-Id: If92d55f15306e55dd7091ac3c47b13ebbbb03488

tests/CI/gates.jenkinsfile
tests/CI/periodics-daily.jenkinsfile
tests/CI/ref_debug.jenkinsfile
tests/CI/unittests.jenkinsfile

index 206e7f3..a0580e5 100644 (file)
@@ -110,7 +110,7 @@ pipeline {
                                        def r = currentBuild.startTimeInMillis % images.length
                                        def ri = images[(int)r]
                                        def randomImage = env.DOCKER_REGISTRY + "/" + ri
-                                       def dockerOptions = "--ulimit core=0 --ulimit nofile=10240 " +
+                                       def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
                                                " -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
                                                " --entrypoint=''"
                                        def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
index a79c2d5..22a6bba 100644 (file)
@@ -35,7 +35,7 @@ pipeline {
                                        def r = currentBuild.startTimeInMillis % images.length
                                        def ri = images[(int)r]
                                        def randomImage = env.DOCKER_REGISTRY + "/" + ri
-                                       def dockerOptions = "--ulimit core=0 --ulimit nofile=10240 " +
+                                       def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
                                                " -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
                                                " --entrypoint=''"
                                        def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
index 40bdd67..a30c7f2 100644 (file)
@@ -35,7 +35,7 @@ pipeline {
                                        def r = currentBuild.startTimeInMillis % images.length
                                        def ri = images[(int)r]
                                        def randomImage = env.DOCKER_REGISTRY + "/" + ri
-                                       def dockerOptions = "--ulimit core=0 --ulimit nofile=10240 " +
+                                       def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
                                                " -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
                                                " --entrypoint=''"
                                        def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
index c1c01c1..bfe56e3 100644 (file)
@@ -112,7 +112,7 @@ pipeline {
                                        def ri = images[(int)r]
                                        def randomImage = env.DOCKER_REGISTRY + "/" + ri;
                                        def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')
-                                       def dockerOptions = "--ulimit core=0 --ulimit nofile=10240 " +
+                                       def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
                                                " -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
                                                " --entrypoint='' --name ${bt}-build"
                                        def outputdir = "tests/CI/output/UnitTests"