summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-12 10:02:59 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-12 10:02:59 +0100
commit6f325d738e28886db30df3a0228ae6f47a5b7199 (patch)
tree937f6c12b2891983be00b4aa25a0ce710a0f26e7 /bin
parent8d810ed70abaf435f93a6643026038e0193b800d (diff)
downloadjenkins.debian.net-6f325d738e28886db30df3a0228ae6f47a5b7199.tar.xz
reproducible freebsd: try harder to ignore failures in one branch
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_freebsd.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh
index 6894e6ce..21a08ec3 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -82,14 +82,14 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do
NUM_CPU=4 # if someone could tell me how to determine this on FreeBSD, this would be neat
# actually build everything
set +e
- $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG sudo make -j $NUM_CPU buildworld"
- $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG sudo make -j $NUM_CPU buildkernel"
- $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG DESTDIR=$TMPDIR sudo make -j $NUM_CPU installworld"
- $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG DESTDIR=$TMPDIR sudo make -j $NUM_CPU installkernel"
- $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG DESTDIR=$TMPDIR sudo make -j $NUM_CPU distribution"
+ $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG sudo make -j $NUM_CPU buildworld" && \
+ $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG sudo make -j $NUM_CPU buildkernel" && \
+ $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG DESTDIR=$TMPDIR sudo make -j $NUM_CPU installworld" && \
+ $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG DESTDIR=$TMPDIR sudo make -j $NUM_CPU installkernel" && \
+ $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG DESTDIR=$TMPDIR sudo make -j $NUM_CPU distribution" && \
+ save_freebsd_results b1 || \
+ ( cleanup_tmpdirs ; echo "$(date -u ) - failed to build FreeBSD (branch $FREEBSD_TARGET at ${FREEBSD_VERSION}) in the first run, stopping" ; continue )
set -e
- # save results in b1
- save_freebsd_results b1
# set time forward 400 days
$RSSH "service ntpd stop ; date --set='+400 days' ; date"