summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build3-amd64
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/profitbricks-build3-amd64')
-rw-r--r--hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins3
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
index a0127b67..cb0c4e61 100644
--- a/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
@@ -9,7 +9,8 @@ jenkins ALL= \
/bin/rm -rf --one-file-system /srv/live-build/*, \
/bin/mv /schroots/* /schroots/*, \
/bin/umount -l /schroots/*, \
- /bin/mount --bind *
+ /bin/mount --bind *, \
+ /usr/bin/mock -r * --init
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset