[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: mail signed .buildinfo files to submit at buildinfo.kfreebsd.eu
Holger Levsen
holger at layer-acht.org
Mon Feb 20 16:51:39 UTC 2017
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 b79bba09b3f496271f5e52a046d3fb108112648b
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Feb 20 17:51:32 2017 +0100
reproducible Debian: mail signed .buildinfo files to submit at buildinfo.kfreebsd.eu
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_build.sh | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 2007347..98535ab 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -842,8 +842,10 @@ 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 || 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"
+ for X in b1 b2
+ do
+ mail -s "${X}/$BUILDINFO_SIGNED" submit at buildinfo.kfreebsd.eu < ./${X}/$BUILDINFO_SIGNED || log_error "Could not submit ${X}/$BUILDINFO_SIGNED to submit at buildinfo.kfreebsd.eu."
+ done
log_info "Done submitting .buildinfo files to submit at buildinfo.kfreebsd.eu."
# buildinfo.debian.net administred by Chris Lamb <lamby at debian.org>
@@ -854,7 +856,7 @@ share_buildinfo() {
curl -s -X PUT --max-time 30 --data-binary @- "https://buildinfo.debian.net/api/submit" < ./${X}/$BUILDINFO_SIGNED > $TMPFILE || log_error "Could not submit buildinfo from ${X} to http://buildinfo.debian.net/api/submit"
cat $TMPFILE
if grep -q "500 Internal Server Error" $TMPFILE ; then
- MESSAGE="$(date -u ) - ${BUILD_URL}console got error code 500 from buildinfo.debian.net"
+ MESSAGE="$(date -u ) - ${BUILD_URL}console got error code 500 from buildinfo.debian.net for $(du -h ${X}/$BUILDINFO_SIGNED)"
echo -e "$MESSAGE" | tee -a /var/log/jenkins/reproducible-submit2buildinfo.debian.net.log
fi
rm $TMPFILE
--
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