@@ -45,7 +45,7 @@ distributions.each { distro ->
4545 buildVer = version + ' .' + env. BUILD_NUMBER + ' ~' + distroCode
4646 }
4747 stage(' Build ' + distroName) {
48- buildImage. inside(' --ipc=host ' ) {
48+ buildImage. inside(' --init ' ) {
4949 sh ' dch -b -v ' + buildVer + ' "' + env. BUILD_TAG + ' "'
5050 sh ' sudo apt-get update --allow-releaseinfo-change'
5151 sh ' sudo chown -R jenkins:jenkins . ..'
@@ -60,7 +60,7 @@ distributions.each { distro ->
6060 }
6161
6262 stage(' Test ' + distroName) {
63- buildImage. inside(' --ipc=host ' ) {
63+ buildImage. inside(' --init ' ) {
6464 def debconf_debug = 0 // Set to "5" or "developer" to debug debconf
6565 sh ' cd $WORKSPACE/dist/debian/ ; dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz; cd $WORKSPACE'
6666 sh ' echo "deb [trusted=yes] file://///$WORKSPACE/dist/debian/ ./" | sudo tee /etc/apt/sources.list.d/local.list'
@@ -76,7 +76,7 @@ distributions.each { distro ->
7676 }
7777 stage(' Archive artifacts ' + distroName ) {
7878 // Only run if previous stages (Build and Test) succeeded
79- buildImage. inside(' --ipc=host ' ) {
79+ buildImage. inside(' --init ' ) {
8080 // Archive all produced artifacts listed in debian/files
8181 artifacts. each { deb_file ->
8282 println " Archiving artifact: " + deb_file
0 commit comments