summaryrefslogtreecommitdiffstats
path: root/hosts/freebsd-jenkins
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-26 01:32:10 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-26 01:33:32 +0200
commitf8c753e72a133f35bd2cdd33a37f24fb877f105b (patch)
tree17d017ffa65af4145fa519a83eeddbc720730c56 /hosts/freebsd-jenkins
parentc6935d9a231a373b0622fe72c21b207348e62ec7 (diff)
downloadjenkins.debian.net-f8c753e72a133f35bd2cdd33a37f24fb877f105b.tar.xz
reproducible freebsd: carefully craft our own tar.xz archives...
Diffstat (limited to 'hosts/freebsd-jenkins')
-rw-r--r--hosts/freebsd-jenkins/usr/local/etc/sudoers7
1 files changed, 6 insertions, 1 deletions
diff --git a/hosts/freebsd-jenkins/usr/local/etc/sudoers b/hosts/freebsd-jenkins/usr/local/etc/sudoers
index 9a139c68..e8bcd2bc 100644
--- a/hosts/freebsd-jenkins/usr/local/etc/sudoers
+++ b/hosts/freebsd-jenkins/usr/local/etc/sudoers
@@ -99,9 +99,14 @@ jenkins ALL= NOPASSWD: /usr/bin/make -j ? buildworld, \
/usr/bin/make -j ? distribution, \
/bin/rm -r /usr/src /usr/obj, \
/bin/rm -r /usr/obj, \
+ /bin/rm -r /srv/reproducible-results/* /srv/reproducible-results/*.tar.xz, \
/bin/mkdir /usr/obj, \
/bin/mkdir /usr/src /usr/obj, \
- /usr/sbin/chown jenkins /usr/src /usr/obj
+ /usr/sbin/chown jenkins /usr/src /usr/obj, \
+ /usr/bin/find /srv/reproducible-results/* -exec touch *, \
+ /usr/bin/find /srv/reproducible-results/* -print0, \
+ /usr/bin/tar --null -T - --no-recursion -cJf *.tar.xz
+
## Uncomment to allow any user to run sudo if they know the password
## of the user they are running the command as (root by default).