Skip test in staging jobs
Tests fail in the staging jobs due to differences between the Ubuntu
environment used in the verify and merge jobs and the Centos environment
used in the staging jobs. Specifically, the "keytool" utility that comes
in Java is not in the path in CentOS.
As the tests must pass in the Ubuntu environment ver verification and
merge, there is no need to run the tests at staging. THis review
disables tests in staging jobs.
Issue-ID: POLICY-3587
Change-Id: I357e15ce908491a1849f64d33a7c9df47471de39
Signed-off-by: liamfallon <liam.fallon@est.tech>
diff --git a/jjb/policy/policy-apex-pdp.yaml b/jjb/policy/policy-apex-pdp.yaml
index 4b57060..fbdbbdd 100644
--- a/jjb/policy/policy-apex-pdp.yaml
+++ b/jjb/policy/policy-apex-pdp.yaml
@@ -18,6 +18,7 @@
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
+ mvn-params: '-Dmaven.test.skip=true'
- gerrit-maven-docker-stage:
build-node: ubuntu1804-docker-8c-8g
maven-versions-plugin: true
diff --git a/jjb/policy/policy-api.yaml b/jjb/policy/policy-api.yaml
index 3746aed..02d6b55 100644
--- a/jjb/policy/policy-api.yaml
+++ b/jjb/policy/policy-api.yaml
@@ -12,6 +12,7 @@
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
+ mvn-params: '-Dmaven.test.skip=true'
- gerrit-maven-docker-stage:
build-node: ubuntu1804-docker-8c-8g
maven-versions-plugin: true
diff --git a/jjb/policy/policy-common.yaml b/jjb/policy/policy-common.yaml
index 1ca5db6..619c343 100644
--- a/jjb/policy/policy-common.yaml
+++ b/jjb/policy/policy-common.yaml
@@ -9,6 +9,7 @@
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
+ mvn-params: '-Dmaven.test.skip=true'
- '{project-name}-gerrit-release-jobs':
build-node: centos7-docker-8c-8g
diff --git a/jjb/policy/policy-distribution.yaml b/jjb/policy/policy-distribution.yaml
index f614feb..c8b3ec3 100644
--- a/jjb/policy/policy-distribution.yaml
+++ b/jjb/policy/policy-distribution.yaml
@@ -12,6 +12,7 @@
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
+ mvn-params: '-Dmaven.test.skip=true'
- gerrit-maven-docker-stage:
build-node: ubuntu1804-docker-8c-8g
maven-versions-plugin: true
diff --git a/jjb/policy/policy-drools-applications.yaml b/jjb/policy/policy-drools-applications.yaml
index 81bc61a..ee9eb9b 100644
--- a/jjb/policy/policy-drools-applications.yaml
+++ b/jjb/policy/policy-drools-applications.yaml
@@ -12,6 +12,7 @@
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
+ mvn-params: '-Dmaven.test.skip=true'
- gerrit-maven-docker-stage:
build-node: ubuntu1804-docker-8c-8g
maven-versions-plugin: true
diff --git a/jjb/policy/policy-drools-pdp.yaml b/jjb/policy/policy-drools-pdp.yaml
index c27aab8..5f574c6 100644
--- a/jjb/policy/policy-drools-pdp.yaml
+++ b/jjb/policy/policy-drools-pdp.yaml
@@ -12,6 +12,7 @@
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
+ mvn-params: '-Dmaven.test.skip=true'
- gerrit-maven-docker-stage:
build-node: ubuntu1804-docker-8c-8g
maven-versions-plugin: true
@@ -58,7 +59,7 @@
name: policy-drools-pdp-clm
jobs:
- gerrit-maven-clm:
- mvn-params: '-DskipTests'
+ mvn-params: '-Dmaven.test.skip=true'
nexus-iq-namespace: 'onap-'
project: policy/drools-pdp
project-name: 'policy-drools-pdp'
diff --git a/jjb/policy/policy-gui.yaml b/jjb/policy/policy-gui.yaml
index 43f0966..bc2f007 100644
--- a/jjb/policy/policy-gui.yaml
+++ b/jjb/policy/policy-gui.yaml
@@ -12,6 +12,7 @@
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
+ mvn-params: '-Dmaven.test.skip=true'
- gerrit-maven-docker-stage:
build-node: ubuntu1804-docker-8c-8g
maven-versions-plugin: true
diff --git a/jjb/policy/policy-models.yaml b/jjb/policy/policy-models.yaml
index c2d5b48..afa220d 100644
--- a/jjb/policy/policy-models.yaml
+++ b/jjb/policy/policy-models.yaml
@@ -12,6 +12,7 @@
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
+ mvn-params: '-Dmaven.test.skip=true'
- '{project-name}-gerrit-release-jobs':
build-node: centos7-docker-8c-8g
diff --git a/jjb/policy/policy-pap.yaml b/jjb/policy/policy-pap.yaml
index a7a7ce5..978fbff 100644
--- a/jjb/policy/policy-pap.yaml
+++ b/jjb/policy/policy-pap.yaml
@@ -12,6 +12,7 @@
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
+ mvn-params: '-Dmaven.test.skip=true'
- gerrit-maven-docker-stage:
build-node: ubuntu1804-docker-8c-8g
maven-versions-plugin: true
diff --git a/jjb/policy/policy-parent.yaml b/jjb/policy/policy-parent.yaml
index 2ec9cb0..e76ad67 100644
--- a/jjb/policy/policy-parent.yaml
+++ b/jjb/policy/policy-parent.yaml
@@ -9,6 +9,7 @@
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
+ mvn-params: '-Dmaven.test.skip=true'
- '{project-name}-gerrit-release-jobs':
build-node: centos7-docker-8c-8g
diff --git a/jjb/policy/policy-xacml-pdp.yaml b/jjb/policy/policy-xacml-pdp.yaml
index d8abd90..06c4398 100644
--- a/jjb/policy/policy-xacml-pdp.yaml
+++ b/jjb/policy/policy-xacml-pdp.yaml
@@ -12,6 +12,7 @@
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
+ mvn-params: '-Dmaven.test.skip=true'
- gerrit-maven-docker-stage:
build-node: ubuntu1804-docker-8c-8g
maven-versions-plugin: true