summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-05 02:26:06 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-05 02:26:06 +0200
commite4bb3bbfdd68aa39e8819f401b25aae744ba180c (patch)
treec0e6f6c732474807a24325cbcfc4cdb2b1b782cc /etc
parente63787d11d171df98781c0384d7bf57a8415af19 (diff)
downloadjenkins.debian.net-e4bb3bbfdd68aa39e8819f401b25aae744ba180c.tar.xz
reproducible: pbuilder setup: replace existing base.tgz only when a new one can be created
Diffstat (limited to 'etc')
-rw-r--r--etc/sudoers.d/jenkins1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins
index be538c2d..acb0d142 100644
--- a/etc/sudoers.d/jenkins
+++ b/etc/sudoers.d/jenkins
@@ -27,6 +27,7 @@ jenkins ALL= \
/bin/cp -r /media/*, \
/bin/chown -R jenkins\:jenkins /var/lib/jenkins/jobs/*,\
SETENV: NOPASSWD: /usr/sbin/pbuilder *, \
+ /bin/mv pbuilder/base-reproducible-new.tgz /var/cache/pbuilder/base-reproducible.tgz, \
/bin/rm /var/cache/pbuilder/base*.tgz, \
/bin/rm /var/cache/pbuilder/result/*, \
/usr/bin/dcmd rm *.changes, \