GEODE-NATIVE: Add parameter to control publishing geode native software to Artifactory 26/3226/1
authorrobert.tomczyk <robert.tomczyk@est.tech>
Wed, 18 Dec 2019 13:36:10 +0000 (13:36 +0000)
committerrobert.tomczyk <robert.tomczyk@est.tech>
Wed, 18 Dec 2019 13:36:10 +0000 (13:36 +0000)
Change-Id: Ic3820f6f064749d52505491fb9adefd15206d1d0

jjb/geode-native/apache-geode-native-verify.yaml

index 8484573e68eb81c16ed75b673cf05935a0ebfd86..9b19b205afbef3d7b72a128849b317ac57508291 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
       - string:
           name: JOBS
           default: '24'
@@ -63,7 +67,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: