Merge "Add flag to fail robot csit (1node) on exceptions"
[releng/builder.git] / jjb / autorelease / autorelease-macros.yaml
index 06daa22d2d138890afba844aa2ddbca2d81f6531..903332e806d38e6ae811dab4678b686e120b561c 100644 (file)
     builders:
       - shell: !include-raw: update-validate-autorelease-projects.sh
 
+- builder:
+    name: autorelease-compare-projects
+    builders:
+      - shell: !include-raw: compare-autorelease-projects.sh
+
 - publisher:
     # Search console log for failures and email status to the release mailing list.
     name: opendaylight-infra-notify-status
     publishers:
       - postbuildscript:
           builders:
-            - shell: !include-raw: notify-build-failure.sh
-          script-only-if-succeeded: false
-          script-only-if-failed: true
+            - role: BOTH
+              build-on:
+                - ABORTED
+                - FAILURE
+                - NOT_BUILT
+                - SUCCESS
+                - UNSTABLE
+              build-steps:
+                - shell: !include-raw: notify-build-failure.sh
+          mark-unstable-if-failed: true