Testing RANPM-datafilecollector verify Job

Change-Id: I59253dcd1603904f10206547f26aa3743a0a85b9
Signed-off-by: rohithrajneesh <rohith.rajneesh@est.tech>
diff --git a/jjb/oransc/global-templates-oran-java.yaml b/jjb/oransc/global-templates-oran-java.yaml
index 95a4f4d..3521a27 100644
--- a/jjb/oransc/global-templates-oran-java.yaml
+++ b/jjb/oransc/global-templates-oran-java.yaml
@@ -33,6 +33,14 @@
           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:
diff --git a/jjb/oransc/nonrtric-plt-ranpm/nonrtric-plt-ranpm-verify-jobs.yaml b/jjb/oransc/nonrtric-plt-ranpm/nonrtric-plt-ranpm-verify-jobs.yaml
index cf1154a..2e865e2 100644
--- a/jjb/oransc/nonrtric-plt-ranpm/nonrtric-plt-ranpm-verify-jobs.yaml
+++ b/jjb/oransc/nonrtric-plt-ranpm/nonrtric-plt-ranpm-verify-jobs.yaml
@@ -34,7 +34,9 @@
     mvn-params: "-f datafilecollector -Dbuild.number=${{BUILD_NUMBER}}"
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
-        pattern: "datafilecollector/.*"
+        pattern: "**/datafilecollector/**"
+    subdirectory: datafilecollector
+    trigger_files_path_pattern: datafilecollector
     jobs:
       - 'oransc-{project-name}-verify-java'
     stream: