Testing RANPM-datafilecollector verify Job
[infra/cicd.git] / jjb / oransc / global-templates-oran-java.yaml
index 95a4f4d418839d6e01e764f588958e5b90d8c8b0..3521a27c366afcbc3e35411712869d5a0384adc2 100644 (file)
           name: GO_PATH
           default: '/usr/local/go/bin'
           description: Path to go executable
+      - string:
+          name: TRIGGER_BRANCH_PATTERN
+          default: '**'
+          description: Branch patterns to trigger against 
+      - string:
+          name: TRIGGER_FILES_PATH_PATTERN
+          default: '**'
+          description: File path pattern to trigger against
 
     scm:
       - git-scm-gerrit:
@@ -45,8 +53,8 @@
     triggers:
       - nordix-gerrit-trigger-patchset-created:
           project: 'oransc/{project}'
-          branch: '**'
-          files: '**'
+          branch: $TRIGGER_BRANCH_PATTERN
+          files: $TRIGGER_FILES_PATH_PATTERN
 
     wrappers:
       - build-timeout: