diff options
author | 2017-10-20 08:44:00 +0200 | |
---|---|---|
committer | 2017-10-20 06:46:48 +0000 | |
commit | 7c6b60f0acf4abaae12bd16c8975c4b4cc96dc64 (patch) | |
tree | 468332ba5a6b0ade6ccc2c4e6d48df731afc7053 | |
parent | a217b46524d84c48cfd0fea62c1ef89e237ef60b (diff) |
Create new timeout wrapper for performence jobs
Change-Id: Ic502821589ccff5290f97f9db7e177cedb76e91d
Signed-off-by: Peter Mikus <pmikus@cisco.com>
-rw-r--r-- | jjb/csit/csit.yaml | 4 | ||||
-rw-r--r-- | jjb/global-macros.yaml | 25 |
2 files changed, 27 insertions, 2 deletions
diff --git a/jjb/csit/csit.yaml b/jjb/csit/csit.yaml index 382d1c3fa..d1319635a 100644 --- a/jjb/csit/csit.yaml +++ b/jjb/csit/csit.yaml @@ -149,8 +149,8 @@ choosing-strategy: 'gerrit' wrappers: - - fdio-infra-wrappers-non-activity-timeout: - build-timeout: '{build-perf-timeout}' + - fdio-infra-wrappers-build-perf-timeout: + build-perf-timeout: '{build-perf-timeout}' triggers: - gerrit-trigger-manually-triggered: diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index 6aebfa0d6..7f86c3831 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -136,6 +136,14 @@ fail: true - wrapper: + name: build-perf-timeout + wrappers: + - timeout: + type: no-activity + timeout: 2880 + fail: true + +- wrapper: # This wrapper is used for all jobs that require no-activity timeouts name: fdio-infra-wrappers-non-activity-timeout wrappers: @@ -171,6 +179,23 @@ - openstack: single-use: True +- wrapper: + # This wrapper is used for all performence jobs that require timeouts + name: fdio-infra-wrappers-build-perf-timeout + wrappers: + - timeout: + type: no-activity + timeout: '{build-perf-timeout}' + fail: true + - timestamps + - ssh-agent-credentials: + users: + - 'jenkins-gerrit-credentials' + - jclouds: + single-use: True + - openstack: + single-use: True + ###### TRIGGERS - trigger: name: gerrit-trigger-patch-submitted |