Code Review
/
releng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
11a3323
)
jjb: global: releng-macros: Add timeout wrapper
69/39469/1
author
Markos Chandras
<mchandras@suse.de>
Thu, 17 Aug 2017 05:07:41 +0000
(06:07 +0100)
committer
Markos Chandras
<mchandras@suse.de>
Thu, 17 Aug 2017 05:10:42 +0000
(06:10 +0100)
Add new timeout wrapper which can be used to kill a job if it
take too long to finish
Change-Id: I15a20fc92ea7855d11983b5734064aace138a2b5
Signed-off-by: Markos Chandras <mchandras@suse.de>
jjb/global/releng-macros.yml
patch
|
blob
|
history
diff --git
a/jjb/global/releng-macros.yml
b/jjb/global/releng-macros.yml
index
89a3802
..
75fe8b3
100644
(file)
--- a/
jjb/global/releng-macros.yml
+++ b/
jjb/global/releng-macros.yml
@@
-164,6
+164,14
@@
users:
- 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
+- wrapper:
+ name: build-timeout
+ wrappers:
+ - timeout:
+ timeout: '{timeout}'
+ timeout-var: 'BUILD_TIMEOUT'
+ fail: true
+
- wrapper:
name: fix-workspace-permissions
wrappers: