summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-02-20 17:17:13 +0100
committerHolger Levsen <holger@layer-acht.org>2017-02-20 17:17:13 +0100
commitb199226b52917da2abc5753ce6a01407632f58bf (patch)
treeae3445f0cb59aafe5cf90e1a171c0c7004032d00 /bin
parent2f53af1d9fd7f6c364a3fc91e0548020b30701f3 (diff)
downloadjenkins.debian.net-b199226b52917da2abc5753ce6a01407632f58bf.tar.xz
reproducible Debian: improve debugging buildinfo.debian.net
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 3378e454..a55796ea 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -847,9 +847,16 @@ share_buildinfo() {
log_info "Done submitting .buildinfo files to submit@buildinfo.kfreebsd.eu."
# buildinfo.debian.net administred by Chris Lamb <lamby@debian.org>
+ local TMPFILE=$(mktemp --tmpdir=$TMPDIR)
for X in b1 b2
do
- curl -s -X PUT --max-time 30 --data-binary @- "https://buildinfo.debian.net/api/submit" < ./${X}/$BUILDINFO_SIGNED || log_error "Could not submit buildinfo from ${X} to http://buildinfo.debian.net/api/submit"
+ log_info "Submitting $(du -h ${X}/$BUILDINFO_SIGNED)"
+ 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
+ irc_message debian-reproducible "error code 500 on buildinfo.debian.net"
+ fi
+ rm $TMPFILE
done
log_info "Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit."