Merge "Add a build-timeout macro"

This commit is contained in:
Jenkins 2014-06-24 21:23:41 +00:00 committed by Gerrit Code Review
commit 90b31c0068
2 changed files with 11 additions and 2 deletions

View File

@ -17,9 +17,8 @@
concurrent: true concurrent: true
wrappers: wrappers:
- timeout: - build-timeout:
timeout: 30 timeout: 30
fail: true
- timestamps - timestamps
logrotate: logrotate:

View File

@ -330,6 +330,16 @@
# ======================================================================
- wrapper:
name: build-timeout
wrappers:
- timeout:
timeout: '{timeout}'
timeout-var: 'BUILD_TIMEOUT'
fail: true
# ====================================================================== # ======================================================================
- publisher: - publisher: