summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2016-10-23 09:50:24 +0200
committerHolger Levsen <holger@layer-acht.org>2016-10-23 10:37:42 +0200
commit5ff83e33d197716cb48e5b686cd741510a203f9a (patch)
treebbb22cc640f4c15f738d9b5e4f0c381f42f46ca3 /bin
parent7b8809b327d45dd95c1c3e263de21c366e70168c (diff)
downloadjenkins.debian.net-5ff83e33d197716cb48e5b686cd741510a203f9a.tar.xz
reproducible Debian: Set a maximum time for curl(1) to upload to buildinfo.debian.net
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 154b86cb..7c29ce98 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -780,8 +780,8 @@ share_buildinfo() {
mail -s "buildinfo from $NODE1" submit@buildinfo.kfreebsd.eu < ./b1/$BUILDINFO || true
mail -s "buildinfo from $NODE2" submit@buildinfo.kfreebsd.eu < ./b2/$BUILDINFO || true
# buildinfo.debian.net administred by Chris Lamb <chris@chris-lamb.co.uk>
- curl -X PUT --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE1" < ./b1/$BUILDINFO || true
- curl -X PUT --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE2" < ./b2/$BUILDINFO || true
+ curl -X PUT --max-time 30 --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE1" < ./b1/$BUILDINFO || true
+ curl -X PUT --max-time 30 --data-binary @- "http://buildinfo.debian.net/api/submit?node=$NODE2" < ./b2/$BUILDINFO || true
echo "$(date -u) - done submitting .buildinfo files."
}