summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-23 04:52:12 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-23 04:52:12 +0200
commite3309f8c2e0acf50221d2bf95915fae8f04a4654 (patch)
treec9c222a4693bea20eb0a7651a8b7157c8ce51c25 /bin
parent33064062fc3a9f03decc0f167d17c25be58f63a8 (diff)
downloadjenkins.debian.net-e3309f8c2e0acf50221d2bf95915fae8f04a4654.tar.xz
reproducible: abort build job if race condition is met
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 8109ee07..4f16d105 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -49,6 +49,7 @@ handle_race_condition() {
SAVE_ARTIFACTS=0
if [ ! -z "$NOTIFY" ] ; then NOTIFY="failure" ; fi
fi
+ exec /srv/jenkins/bin/abort.sh
exit 0
}