summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build3-amd64
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-01-06 15:56:07 +0100
committerHolger Levsen <holger@layer-acht.org>2016-01-06 15:56:07 +0100
commit002beaa75d6897a3fe911839240a5a76d5c4dbf9 (patch)
treec0ec2f337218e44fd35075ecb926aa96caf90122 /hosts/profitbricks-build3-amd64
parent5e3f2355f48dd95c12709666c2683b652d32c86b (diff)
downloadjenkins.debian.net-002beaa75d6897a3fe911839240a5a76d5c4dbf9.tar.xz
kill all processes run under /usr/bin/timeout too
Diffstat (limited to 'hosts/profitbricks-build3-amd64')
-rw-r--r--hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins6
1 files changed, 5 insertions, 1 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
index f59860d4..fa4778f6 100644
--- a/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
@@ -9,7 +9,11 @@ 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/killall timeout, \
+ /usr/sbin/slay 1111, \
+ /usr/sbin/slay 2222, \
+ /usr/sbin/slay jenkins
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset