summaryrefslogtreecommitdiffstats
path: root/etc/sudoers.d/jenkins
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sudoers.d/jenkins')
-rw-r--r--etc/sudoers.d/jenkins3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins
index a181730c..5acc194b 100644
--- a/etc/sudoers.d/jenkins
+++ b/etc/sudoers.d/jenkins
@@ -28,7 +28,8 @@ jenkins ALL= \
/bin/chown -R jenkins\:jenkins /var/lib/jenkins/jobs/*,\
SETENV: NOPASSWD: /usr/sbin/pbuilder *, \
/bin/rm /var/cache/pbuilder/base*.tgz, \
- /usr/bin/dcmd rm *.changes
+ /usr/bin/dcmd rm *.changes, \
+ /usr/bin/apt-get update
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset