Fix infra merge jjb job.
[infra/cicd.git] / jjb / geode / apache-geode-test-coordinator.yaml
index d1366d4b28dda64cd0057a70764b18861aecffa8..a6cfb4803d804543eabaff40f962303cc343f213 100644 (file)
@@ -1,7 +1,7 @@
 ---
 #
 # ============LICENSE_START=======================================================
-#  Copyright (C) 2018-2019 Nordix Foundation.
+#  Copyright (C) 2018-2022 Nordix Foundation.
 # ================================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -22,8 +22,8 @@
     project: 'Nordix/geode'
 
     stream:
-      - 'release-nordix-1.9.0':
-          branch: 'release-nordix/1.9.0'
+      - 'release-nordix-1.14.0':
+          branch: 'release-nordix/1.14.0'
     jobs:
       - 'apache-geode-verify-{stream}-coordinator'
 
           name: BRANCH
           default: '{branch}'
           description: JJB configured BRANCH parameter for Nordix GitHub project
+      - bool:
+          name: PUBLISH_GEODE
+          default: true
+          description: Publish Geode software to Nordix Artifactory after all tests are passed
 
     properties:
       - logrotate
@@ -59,7 +63,7 @@
 
     scm:
       - git-scm-github:
-          branch: '{branch}'
+          branch: '$BRANCH'
           refspec: ''
           wipe_workspace: true
           clean_before: false
               git-revision: true
               abort-all-job: true
               node-parameters: true
+# Disable ApiCheck job as the ApiCheckTest was introduced
+# in Geode 1.13 and it doesn't exist in geode 1.12
+#            - name: 'apache-geode-ApiCheckTest-jdk11'
+#              current-parameters: true
+#              git-revision: true
+#              disabled: true
+#              abort-all-job: true
+#              node-parameters: true
             - name: 'apache-geode-StressNewTest-jdk11'
               current-parameters: true
               git-revision: true
               git-revision: true
               abort-all-job: true
               node-parameters: true
+              enable-condition: "$PUBLISH_GEODE == true"
 
-    publishers:
-      - notify-slack:
-          slack-channel: '#geode'
-          notify-start: true
-          notify-success: true
-          notify-failure: true
-          notify-back-to-normal: true
\ No newline at end of file
+    # publishers:
+    #   - notify-slack:
+    #       slack-channel: '#geode-ci'
+    #       notify-start: true
+    #       notify-success: true
+    #       notify-failure: true
+    #       notify-back-to-normal: true