summaryrefslogtreecommitdiffstats
path: root/etc/sudoers.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sudoers.d')
-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