[Qa-jenkins-scm] [jenkins.debian.net] 01/01: abort job if the input aint right
Holger Levsen
holger at moszumanska.debian.org
Sun Aug 2 14:45:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 9cc2692f59cd78e5d4ebc8aa06d81bfeb4d29e80
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Aug 2 16:44:26 2015 +0200
abort job if the input aint right
---
bin/find_dpkg_trigger_cycles.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/find_dpkg_trigger_cycles.sh b/bin/find_dpkg_trigger_cycles.sh
index be25f05..02ac7e4 100755
--- a/bin/find_dpkg_trigger_cycles.sh
+++ b/bin/find_dpkg_trigger_cycles.sh
@@ -173,7 +173,7 @@ curl --retry 3 --retry-delay 10 --globoff "http://binarycontrol.debian.net/?q=&p
tmpdir=`mktemp -d --tmpdir="$scratch"`
# curl is allowed to fail with exit status 23 because we want to stop
# downloading immediately after control.tar.gz has been extracted
- ( curl --retry 3 --retry-delay 10 --location --silent "$url" || [ "$?" -eq 23 ] || ( echo "curl failed">&2 && exit 1 ) ) \
+ ( curl --retry 3 --retry-delay 10 --location --silent "$url" || [ "$?" -eq 23 ] || ( echo "curl failed">&2 && /srv/jenkins/bin/abort.sh ) ) \
| dpkg-deb --ctrl-tarfile /dev/stdin \
| tar -C "$tmpdir" --exclude=./md5sums -x
if [ ! -f "$tmpdir/triggers" ]; then
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list