summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
diff options
context:
space:
mode:
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2017-09-26 12:48:49 -0500
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2017-09-26 13:31:00 -0500
commita915a7e7bf4c83d098e53fcd257a22aefc3cc434 (patch)
treec18879f56b47649e944589e6b8cfc2e319cd7444 /jjb/global-macros.yaml
parent3392d3984ab747b33a4bc2b326abc8e30430bb96 (diff)
Add global macro to enable the Naginator plugin
This change is to allow FD.io jobs to use the Naginator plugin and configure the number of retries after a failed build. Change-Id: I3a6ce27e60c4e052af2e1cca29d2bac55a2489f3 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r--jjb/global-macros.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index cdecdce39..6aebfa0d6 100644
--- a/jjb/global-macros.yaml
+++ b/jjb/global-macros.yaml
@@ -321,6 +321,12 @@
- workspace-cleanup:
fail-build: false
+- publisher:
+ name: retry-build-on-builder-error
+ publishers:
+ - naginator:
+ max-failed-builds: 1
+
###### BUILDERS
- builder:
name: ci-management-check-unicode