summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins-test-vm/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-20 11:26:52 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-20 11:26:52 +0100
commitaac9b56aa15ec1f7a627e5f8e888a7ae69c85049 (patch)
tree401aabd1f2dc8ee449db6e89be3cda6d26cdad29 /hosts/jenkins-test-vm/etc
parent073a610f542d0d1669f3f310918b523b3aa87ecc (diff)
downloadjenkins.debian.net-aac9b56aa15ec1f7a627e5f8e888a7ae69c85049.tar.xz
same sudoers for the test-vm as for the rest
Diffstat (limited to 'hosts/jenkins-test-vm/etc')
-rw-r--r--hosts/jenkins-test-vm/etc/sudoers.d/jenkins7
1 files changed, 5 insertions, 2 deletions
diff --git a/hosts/jenkins-test-vm/etc/sudoers.d/jenkins b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
index 2dab2ae5..911015a5 100644
--- a/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
+++ b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
@@ -34,14 +34,17 @@ jenkins ALL= \
/bin/chown -R jenkins\:jenkins /var/lib/jenkins/jobs/*,\
SETENV: NOPASSWD: /usr/sbin/pbuilder *, \
SETENV: NOPASSWD: /usr/bin/timeout -k 12.1h 12h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder *, \
- SETENV: NOPASSWD: /usr/bin/timeout -k 12.1h 12h /usr/bin/ionice -c 3 /usr/bin/nice /usr/bin/linux64 --uname-2.6 /usr/bin/unshare --uts -- /usr/sbin/pbuilder *, \
+ SETENV: NOPASSWD: /usr/bin/timeout -k 12.1h 12h /usr/bin/ionice -c 3 /usr/bin/nice /usr/bin/unshare --uts -- /usr/sbin/pbuilder *, \
/bin/mv /var/cache/pbuilder/*base*.tgz /var/cache/pbuilder/*base*.tgz, \
/bin/rm /var/cache/pbuilder/*base*.tgz, \
/bin/rm -v /var/cache/pbuilder/*base*.tgz, \
/bin/rm /var/cache/pbuilder/result/*, \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
- /usr/bin/apt-get update
+ /usr/bin/apt-get update, \
+ /usr/sbin/slay -clean 1111, \
+ /usr/sbin/slay -clean 2222, \
+ /usr/sbin/slay -clean jenkins
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset