Add global macro to enable the Naginator plugin 46/8546/2
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Tue, 26 Sep 2017 17:48:49 +0000 (12:48 -0500)
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Tue, 26 Sep 2017 18:31:00 +0000 (13:31 -0500)
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>
jjb/global-macros.yaml

index cdecdce..6aebfa0 100644 (file)
       - 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