summaryrefslogtreecommitdiffstats
path: root/hosts/freebsd-jenkins
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/freebsd-jenkins')
-rw-r--r--hosts/freebsd-jenkins/usr/local/etc/sudoers8
1 files changed, 3 insertions, 5 deletions
diff --git a/hosts/freebsd-jenkins/usr/local/etc/sudoers b/hosts/freebsd-jenkins/usr/local/etc/sudoers
index d09b6696..978b0b84 100644
--- a/hosts/freebsd-jenkins/usr/local/etc/sudoers
+++ b/hosts/freebsd-jenkins/usr/local/etc/sudoers
@@ -97,13 +97,11 @@ jenkins ALL= NOPASSWD: /usr/bin/make -j ? buildworld, \
/usr/bin/make -j ? installworld, \
/usr/bin/make -j ? installkernel, \
/usr/bin/make -j ? distribution, \
- /bin/rm -r /usr/src /usr/obj, \
- /bin/rm -r /usr/obj, \
+ /bin/rm -rf /usr/src, \
/bin/rm -r /srv/reproducible-results/* /srv/reproducible-results/*.tar.xz, \
/bin/chflags -R noschg /srv/reproducible-results/*, \
- /bin/mkdir /usr/obj, \
- /bin/mkdir /usr/src /usr/obj, \
- /usr/sbin/chown jenkins /usr/src /usr/obj, \
+ /bin/mkdir /usr/src, \
+ /usr/sbin/chown jenkins /usr/src, \
/usr/bin/find /srv/reproducible-results/* -newer /srv/reproducible-results/* -exec touch *, \
/usr/bin/find /srv/reproducible-results/* -print0, \
/usr/bin/tar --null -T - --no-recursion -cJf *.tar.xz