[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: log error instead of proceeding silently
Holger Levsen
holger at layer-acht.org
Tue Nov 1 00:05:19 UTC 2016
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 bc75bbc7b11a8072d97a1f0e973ac564390a8ea9
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Nov 1 01:05:02 2016 +0100
reproducible Debian: log error instead of proceeding silently
---
bin/reproducible_build.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index a377280..57178b7 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -784,11 +784,11 @@ share_buildinfo() {
log_info "Submitting .buildinfo files to external archives."
# buildinfo.kfreebsd.eu administered by Steven Chamberlain <steven at pyro.eu.org>
- mail -s "buildinfo from $NODE1" submit at buildinfo.kfreebsd.eu < ./b1/$BUILDINFO || true
- mail -s "buildinfo from $NODE2" submit at buildinfo.kfreebsd.eu < ./b2/$BUILDINFO || true
+ mail -s "buildinfo from $NODE1" submit at buildinfo.kfreebsd.eu < ./b1/$BUILDINFO || log_error "Could not submit buildinfo from $NODE1 to submit at buildinfo.kfreebsd.eu."
+ mail -s "buildinfo from $NODE2" submit at buildinfo.kfreebsd.eu < ./b2/$BUILDINFO || log_error "Could not submit buildinfo from $NODE2 to submit at buildinfo.kfreebsd.eu"
# buildinfo.debian.net administred by Chris Lamb <lamby at debian.org>
- curl -X PUT --max-time 30 --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE1" < ./b1/$BUILDINFO_SIGNED || true
- curl -X PUT --max-time 30 --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE2" < ./b2/$BUILDINFO_SIGNED || true
+ curl -X PUT --max-time 30 --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE1" < ./b1/$BUILDINFO_SIGNED || log_error "Could not submit buildinfo from $NODE1 to http://buildinfo.debian.net/api/submit?node=$NODE1"
+ curl -X PUT --max-time 30 --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE2" < ./b2/$BUILDINFO_SIGNED || log_error "Could not submit buildinfo from $NODE2 to http://buildinfo.debian.net/api/submit?node=$NODE2"
log_info "Done submitting .buildinfo files."
--
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