From e81581b6ac41c76c3ecba5023b30dbe1c9e7bbad Mon Sep 17 00:00:00 2001 From: liamfallon Date: Tue, 14 Sep 2021 10:37:22 +0100 Subject: [PATCH] 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 --- jjb/policy/policy-apex-pdp.yaml | 1 + jjb/policy/policy-api.yaml | 1 + jjb/policy/policy-common.yaml | 1 + jjb/policy/policy-distribution.yaml | 1 + jjb/policy/policy-drools-applications.yaml | 1 + jjb/policy/policy-drools-pdp.yaml | 3 ++- jjb/policy/policy-gui.yaml | 1 + jjb/policy/policy-models.yaml | 1 + jjb/policy/policy-pap.yaml | 1 + jjb/policy/policy-parent.yaml | 1 + jjb/policy/policy-xacml-pdp.yaml | 1 + 11 files changed, 12 insertions(+), 1 deletion(-) diff --git a/jjb/policy/policy-apex-pdp.yaml b/jjb/policy/policy-apex-pdp.yaml index 4b570604a..fbdbbdde9 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 3746aed4a..02d6b555a 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 1ca5db6a4..619c343b3 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 f614feba3..c8b3ec377 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 81bc61a36..ee9eb9b36 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 c27aab8fc..5f574c63e 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 43f096649..bc2f00758 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 c2d5b485f..afa220df0 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 a7a7ce58a..978fbffe3 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 2ec9cb072..e76ad679e 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 d8abd90ab..06c4398af 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 -- 2.16.6