From 002beaa75d6897a3fe911839240a5a76d5c4dbf9 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 6 Jan 2016 15:56:07 +0100 Subject: kill all processes run under /usr/bin/timeout too --- hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins') diff --git a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins index cccfc2d5..a2d8890b 100644 --- a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins +++ b/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins @@ -2,7 +2,11 @@ jenkins ALL= \ NOPASSWD: /usr/sbin/debootstrap *, \ /usr/sbin/chroot /chroots/*, \ /bin/rm -rf --one-file-system /chroots/*, \ - /bin/umount -l /chroots/* + /bin/umount -l /chroots/*, \ + /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 -- cgit v1.2.3-70-g09d2