[DCAE] Fix verify trigger dcaegen2-platform java jobs
Change-Id: I7ebbc900dc83c8e419048479b4bc00184e5d7c44
Signed-off-by: vv770d <vv770d@att.com>
Issue-ID: DCAEGEN2-3236
diff --git a/jjb/dcaegen2/dcaegen2-platform-mod-designtool.yaml b/jjb/dcaegen2/dcaegen2-platform-mod-designtool.yaml
index 14d739d..fcc9ca6 100644
--- a/jjb/dcaegen2/dcaegen2-platform-mod-designtool.yaml
+++ b/jjb/dcaegen2/dcaegen2-platform-mod-designtool.yaml
@@ -25,6 +25,9 @@
mvn-settings: dcaegen2-platform-settings
container-public-registry: 'nexus3.onap.org:10001'
container-staging-registry: 'nexus3.onap.org:10003'
+ gerrit_trigger_file_paths:
+ - compare-type: ANT
+ pattern: 'mod/designtool/**'
mvn-goals: 'clean package install'
mvn-params: '-f mod/designtool/pom.xml'
pattern: 'mod/designtool/**'
diff --git a/jjb/dcaegen2/dcaegen2-platform-mod-genprocessor.yaml b/jjb/dcaegen2/dcaegen2-platform-mod-genprocessor.yaml
index 808a0f7..61e8034 100644
--- a/jjb/dcaegen2/dcaegen2-platform-mod-genprocessor.yaml
+++ b/jjb/dcaegen2/dcaegen2-platform-mod-genprocessor.yaml
@@ -27,6 +27,9 @@
container-staging-registry: 'nexus3.onap.org:10003'
mvn-goals: 'clean package install'
mvn-params: '-f mod/genprocessor/pom.xml'
+ gerrit_trigger_file_paths:
+ - compare-type: ANT
+ pattern: 'mod/genprocessor/**'
pattern: 'mod/genprocessor/**'
mvn-snapshot-id: 'ecomp-snapshots'
nexus-snapshot-repo: 'snapshots'
diff --git a/jjb/dcaegen2/dcaegen2-platform-mod-runtimeapi.yaml b/jjb/dcaegen2/dcaegen2-platform-mod-runtimeapi.yaml
index da0ab59..43b6019 100644
--- a/jjb/dcaegen2/dcaegen2-platform-mod-runtimeapi.yaml
+++ b/jjb/dcaegen2/dcaegen2-platform-mod-runtimeapi.yaml
@@ -24,6 +24,9 @@
branch: 'jakarta'
java-version: openjdk11
mvn-settings: dcaegen2-platform-settings
+ gerrit_trigger_file_paths:
+ - compare-type: ANT
+ pattern: 'mod/runtimeapi/**'
container-public-registry: 'nexus3.onap.org:10001'
container-staging-registry: 'nexus3.onap.org:10003'
mvn-goals: 'clean package install'
diff --git a/jjb/dcaegen2/dcaegen2-platform-mod2-helm-generator.yaml b/jjb/dcaegen2/dcaegen2-platform-mod2-helm-generator.yaml
index fba6375..a102bc5 100644
--- a/jjb/dcaegen2/dcaegen2-platform-mod2-helm-generator.yaml
+++ b/jjb/dcaegen2/dcaegen2-platform-mod2-helm-generator.yaml
@@ -23,6 +23,9 @@
branch: 'jakarta'
java-version: openjdk11
mvn-settings: dcaegen2-platform-settings
+ gerrit_trigger_file_paths:
+ - compare-type: ANT
+ pattern: 'mod2/helm-generator/**'
container-public-registry: 'nexus3.onap.org:10001'
container-staging-registry: 'nexus3.onap.org:10003'
mvn-params: '-f mod2/helm-generator/pom.xml'