summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-07 20:05:48 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-07 20:05:48 +0100
commitece2032911c5668cf137cf43e3abbaad4e75209a (patch)
treef54c2c6f08c9dfd30ef95a63ccea6c19cf030685 /hosts
parent50f5f1e924e48474f8dec32c4135d19fd183a3e8 (diff)
downloadjenkins.debian.net-ece2032911c5668cf137cf43e3abbaad4e75209a.tar.xz
reproducible rpms: use mock and sudo correctly
Diffstat (limited to 'hosts')
-rw-r--r--hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins3
1 files changed, 1 insertions, 2 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
index cb0c4e61..f59860d4 100644
--- a/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
@@ -9,8 +9,7 @@ jenkins ALL= \
/bin/rm -rf --one-file-system /srv/live-build/*, \
/bin/mv /schroots/* /schroots/*, \
/bin/umount -l /schroots/*, \
- /bin/mount --bind *, \
- /usr/bin/mock -r * --init
+ /bin/mount --bind *
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset