From: Trevor Bramwell Date: Thu, 18 May 2017 17:43:11 +0000 (-0700) Subject: Build Timeout Wrapper for Yardstick X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=290dc5a49e23a5100c60ca3e989b1890e7652a46;p=releng.git 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 --- 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