From 6315ef6eea9e60ec470c2e6f7c0aaa96320881d4 Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Wed, 16 Aug 2017 11:14:14 +0530 Subject: Add timeout for lcov and reboot on abort for lcov Change-Id: Idf3ec4544f8210f6e81b80034d956204b41ec51f --- build-gluster-org/jobs/lcov.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build-gluster-org/jobs') diff --git a/build-gluster-org/jobs/lcov.yml b/build-gluster-org/jobs/lcov.yml index a2146b1..b3a051f 100644 --- a/build-gluster-org/jobs/lcov.yml +++ b/build-gluster-org/jobs/lcov.yml @@ -31,6 +31,11 @@ files: "index.html" keep-all: true link-to-last-build: true + - post-tasks: + - matches: + - log-text: Build was aborted + script: | + sudo reboot parameters: - string: @@ -44,3 +49,7 @@ wrappers: - timestamps + - timeout: + timeout: 360 + abort: true + type: absolute -- cgit