summaryrefslogtreecommitdiffstats
path: root/hosts/freebsd-jenkins
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2017-03-03 15:29:48 -0500
committerHolger Levsen <holger@layer-acht.org>2017-03-03 21:33:29 +0100
commitd41df2b23f17becec1f6a3b47a82925da9b0fa0c (patch)
tree550a9f944fa0a1d060a5a621647ee5f7ab165797 /hosts/freebsd-jenkins
parent5e4e8cf440bee4d54716c218820330bd2fee4d82 (diff)
downloadjenkins.debian.net-d41df2b23f17becec1f6a3b47a82925da9b0fa0c.tar.xz
reproducible FreeBSD: copy packages back with a tar pipeline
scp -r converts the latest symlink directory into a copy of the target directory, resulting in two copies of each package. Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/freebsd-jenkins')
-rw-r--r--hosts/freebsd-jenkins/usr/local/etc/sudoers1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/freebsd-jenkins/usr/local/etc/sudoers b/hosts/freebsd-jenkins/usr/local/etc/sudoers
index eb15bb18..79f1ed0c 100644
--- a/hosts/freebsd-jenkins/usr/local/etc/sudoers
+++ b/hosts/freebsd-jenkins/usr/local/etc/sudoers
@@ -110,6 +110,7 @@ jenkins ALL= NOPASSWD: /usr/bin/make -j ? buildworld, \
/usr/bin/find /srv/reproducible-results/* -newer /srv/reproducible-results/* -exec touch *, \
/usr/bin/find /srv/reproducible-results/* -print0, \
/usr/bin/tar --no-recursion --null -T - -cJf *.tar.xz, \
+ /usr/bin/tar -C /usr/obj/usr/src -cf - repo \
/usr/sbin/service ntpd start, \
/usr/sbin/service ntpd stop, \
/usr/sbin/service ntpd status, \