summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-05 12:32:58 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-05 12:32:58 +0100
commitd76e73ef046fbaa140106f9ebdbaf75dbb68a480 (patch)
treee8eab8bd6e27d6970811913816c4802598370d64
parent8bb59298e89547eeb1861c23cea313448effbadb (diff)
downloadjenkins.debian.net-d76e73ef046fbaa140106f9ebdbaf75dbb68a480.tar.xz
preserve some environment
-rw-r--r--etc/sudoers.d/jenkins3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins
index 79aab06a..fcc579c5 100644
--- a/etc/sudoers.d/jenkins
+++ b/etc/sudoers.d/jenkins
@@ -1 +1,4 @@
jenkins ALL= NOPASSWD: /usr/sbin/debootstrap *, NOPASSWD: /usr/sbin/chroot /chroots/*, NOPASSWD: /bin/rm -rf /chroots/*, NOPASSWD: /bin/umount -l /chroots/*, NOPASSWD: /usr/bin/du *
+
+# keep these environment variables
+Defaults env_keep += "http_proxy", env_reset