summaryrefslogtreecommitdiffstats
path: root/jjb/yardstick
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-05-18 10:43:11 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-05-18 11:16:19 -0700
commit290dc5a49e23a5100c60ca3e989b1890e7652a46 (patch)
tree8f5bbfd36a81392c2becec75972b21af63ed7d0b /jjb/yardstick
parentfa65187c06fe785f14f6b0048133ec13deaf2f4d (diff)
Build Timeout Wrapper for Yardstick
Yardstick builds are hanging and not being caught for 19+ hours. Using the build timeout plugin we should be able to quickly stop these builds and let the project know much sooner there is an issue with their builds. The default timeout is set to fail if the job takes longer than 30 minutes. This can be adjusted later if the time is too long or too short. ssh-agent-wrapper is included as it is the default from globals, and defaults are superceded by fields added to jobs. Change-Id: I9529ab7b6ab8819ceb91694fefbb4ecb3f5cf81c Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/yardstick')
-rw-r--r--jjb/yardstick/yardstick-project-jobs.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/jjb/yardstick/yardstick-project-jobs.yml b/jjb/yardstick/yardstick-project-jobs.yml
index bbfa152a2..643c1f932 100644
--- a/jjb/yardstick/yardstick-project-jobs.yml
+++ b/jjb/yardstick/yardstick-project-jobs.yml
@@ -58,6 +58,13 @@
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
+
+ wrappers:
+ - ssh-agent-wrapper
+ - timeout:
+ timeout: 30
+ fail: true
+
builders:
- yardstick-unit-tests-and-docs-build
@@ -93,6 +100,12 @@
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
+ wrappers:
+ - ssh-agent-wrapper
+ - timeout:
+ timeout: 30
+ fail: true
+
builders:
- yardstick-unit-tests-and-docs-build