Code Review
/
infra
/
cicd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9e1adc4
)
Add global macro for build-timeout
96/296/1
author
Fatih Degirmenci
<fdegir@gmail.com>
Tue, 29 Jan 2019 09:43:13 +0000
(10:43 +0100)
committer
Fatih Degirmenci
<fdegir@gmail.com>
Tue, 29 Jan 2019 09:43:13 +0000
(10:43 +0100)
Change-Id: Ieb80cfe49ce5e24d92c7240b7db60496d5131e24
jjb/global/jjb-macros.yaml
patch
|
blob
|
history
diff --git
a/jjb/global/jjb-macros.yaml
b/jjb/global/jjb-macros.yaml
index 3de22ee034a4ef7edb49b42585d90cb873d03a56..cedcea1b5113f4b43f9c68c15e733387a70ab214 100644
(file)
--- a/
jjb/global/jjb-macros.yaml
+++ b/
jjb/global/jjb-macros.yaml
@@
-206,3
+206,12
@@
credential-id: nordixinfra-jjb-creds
username: JJB_USERNAME
password: JJB_USERTOKEN
+
+# timeout wrapper to use for jobs
+- wrapper:
+ name: build-timeout
+ wrappers:
+ - timeout:
+ timeout: '{timeout}'
+ timeout-var: 'BUILD_TIMEOUT'
+ fail: true