Max has uploaded this change for review. ( https://gerrit.osmocom.org/12851


Change subject: Use timeout in jenkins job
......................................................................

Use timeout in jenkins job

Automatically terminate 'make distcheck' jenkins build job after 5
minutes timeout to make sure tests won't hang indefinitely.

Change-Id: I815d65f31eec4e0c758478471a553ec2afb59a8d
---
M contrib/jenkins.sh
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/51/12851/1

diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index f2013a5..7d0d1f2 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -37,7 +37,7 @@
 autoreconf --install --force
 ./configure --enable-sanitize --enable-werror
 $MAKE $PARALLEL_MAKE
-$MAKE distcheck \
+timeout 5m $MAKE distcheck \
   || cat-testlogs.sh

 osmo-clean-workspace.sh

--
To view, visit https://gerrit.osmocom.org/12851
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I815d65f31eec4e0c758478471a553ec2afb59a8d
Gerrit-Change-Number: 12851
Gerrit-PatchSet: 1
Gerrit-Owner: Max <[email protected]>

Reply via email to