GEODE: Add parameter to control publishing geode software to Artifactory
[infra/cicd.git] / jjb / geode / apache-geode-test-coordinator.yaml
index 48249d8498d50fb3f94171e4d5f0327a16d1b4ff..d642040848ffa36fe3619fb0ac9a63b00142b6c4 100644 (file)
           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
+              enable-condition: "$PUBLISH_GEODE == true"
 
     publishers:
       - notify-slack: