summaryrefslogtreecommitdiffstats
path: root/etc/sudoers.d/jenkins
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-23 18:09:38 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-23 18:09:38 +0200
commit0891306bd36d87fb718cc46ab2eced2d800b8712 (patch)
tree28bbb33385e809f93c2a51659d6e6e5675df9838 /etc/sudoers.d/jenkins
parentc79273fb2fa4fe762013685c3efd7a86e2710ef5 (diff)
downloadjenkins.debian.net-0891306bd36d87fb718cc46ab2eced2d800b8712.tar.xz
2nd attempt at building reproducible packages
Diffstat (limited to 'etc/sudoers.d/jenkins')
-rw-r--r--etc/sudoers.d/jenkins4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins
index dcdd0814..1e1ada9b 100644
--- a/etc/sudoers.d/jenkins
+++ b/etc/sudoers.d/jenkins
@@ -27,7 +27,9 @@ jenkins ALL= \
/bin/cp -r /media/*, \
/bin/chown -R jenkins\:jenkins /var/lib/jenkins/jobs/*,\
SETENV: NOPASSWD: /usr/sbin/pbuilder *, \
- /bin/rm /var/cache/pbuilder/base.tgz
+ /bin/rm /var/cache/pbuilder/base.tgz, \
+ /bin/cp /var/cache/pbuilder/base.tgz /var/cache/pbuilder/base-reproducible.tgz, \
+ /usr/bin/dcmd rm *.changes
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset