summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2017-08-16 11:14:14 +0530
committerNigel Babu <nigelb@redhat.com>2017-08-18 10:55:59 +0000
commit6315ef6eea9e60ec470c2e6f7c0aaa96320881d4 (patch)
treefd85561e69d0a4fad7cbe82253652b5d759cc9c5 /build-gluster-org/jobs
parent0bdaba0cf24347598c8d55e6b82a0ab64d83b1f0 (diff)
Add timeout for lcov and reboot on abort for lcov
Change-Id: Idf3ec4544f8210f6e81b80034d956204b41ec51f
Diffstat (limited to 'build-gluster-org/jobs')
-rw-r--r--build-gluster-org/jobs/lcov.yml9
1 files changed, 9 insertions, 0 deletions
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