summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-02-20 17:43:14 +0100
committerHolger Levsen <holger@layer-acht.org>2017-02-20 17:43:14 +0100
commit361771a5e13212c4d3525ded969a4c0444f6e0c0 (patch)
tree5a639586179ae03e1a54aabf268feb1f1401dd60 /bin/reproducible_build.sh
parentc1f24b455b45e4d688e00e8c22a6f927d94c6e66 (diff)
downloadjenkins.debian.net-361771a5e13212c4d3525ded969a4c0444f6e0c0.tar.xz
reproducible Debian: write logfile with buildinfo.debian.net issues and mail it daily to qa-jenkins-scm@l.d.a.o and lamby@d.o
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 7cbb4134..2007347e 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -854,7 +854,8 @@ 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
- echo no irc_message debian-reproducible "${BUILD_URL} got error code 500 from buildinfo.debian.net"
+ MESSAGE="$(date -u ) - ${BUILD_URL}console got error code 500 from buildinfo.debian.net"
+ echo -e "$MESSAGE" | tee -a /var/log/jenkins/reproducible-submit2buildinfo.debian.net.log
fi
rm $TMPFILE
done