From af108d9e65fcde0d2e44b2696cf91b98aa47bb91 Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Tue, 25 Jun 2019 11:05:23 -0700 Subject: Migrate gerrit-maven-stage (DCAEGEN)-2 Migrate to use gerrit-maven-stage from global-jjb to allow the generation of signed release artifacts that will reduce release processing time. Change-Id: I6f12f883fadcb0a94190cc1b2080b559b342663c Issue-ID: CIMAN-234 Signed-off-by: Jessica Wagantall --- jjb/dcaegen2/dcaegen2-analytics-tca.yaml | 5 +++++ jjb/dcaegen2/dcaegen2-collectors-hv-ves.yaml | 10 ++++++++++ jjb/dcaegen2/dcaegen2-platform-inventory-api.yaml | 10 ++++++++++ jjb/dcaegen2/dcaegen2-services-pm-mapper.yaml | 10 ++++++++++ 4 files changed, 35 insertions(+) diff --git a/jjb/dcaegen2/dcaegen2-analytics-tca.yaml b/jjb/dcaegen2/dcaegen2-analytics-tca.yaml index d32d4b91f..a0abcbc40 100644 --- a/jjb/dcaegen2/dcaegen2-analytics-tca.yaml +++ b/jjb/dcaegen2/dcaegen2-analytics-tca.yaml @@ -23,6 +23,11 @@ - '{project-name}-{stream}-verify-java': mvn-params: '-DskipTests=true' - '{project-name}-{stream}-merge-java' + - gerrit-maven-stage: + sign-artifacts: true + build-node: centos7-builder-4c-4g + maven-versions-plugin: true + mvn-params: '-DskipTests=true' - project: name: dcaegen2-analytics-tca-sonar diff --git a/jjb/dcaegen2/dcaegen2-collectors-hv-ves.yaml b/jjb/dcaegen2/dcaegen2-collectors-hv-ves.yaml index 3a574a504..7cc2dbd37 100644 --- a/jjb/dcaegen2/dcaegen2-collectors-hv-ves.yaml +++ b/jjb/dcaegen2/dcaegen2-collectors-hv-ves.yaml @@ -26,6 +26,16 @@ mvn-goals: 'clean deploy -DskipNexusStagingDeployMojo=true -DskipDockerPush=false' # No-op script: '/bin/true' + - gerrit-maven-stage: + sign-artifacts: true + build-node: centos7-builder-4c-4g + maven-versions-plugin: true + - gerrit-maven-docker-stage: + sign-artifacts: true + build-node: centos7-docker-8c-8g + container-public-registry: 'nexus3.onap.org:10001' + container-staging-registry: 'nexus3.onap.org:10003' + mvn-params: '-DskipNexusStagingDeployMojo=true -DskipDockerPush=false' - project: name: dcaegen2-collectors-hv-ves-clm diff --git a/jjb/dcaegen2/dcaegen2-platform-inventory-api.yaml b/jjb/dcaegen2/dcaegen2-platform-inventory-api.yaml index d33b745b0..586ba645a 100644 --- a/jjb/dcaegen2/dcaegen2-platform-inventory-api.yaml +++ b/jjb/dcaegen2/dcaegen2-platform-inventory-api.yaml @@ -11,6 +11,16 @@ # No-op script: '/bin/true' build-node: 'ubuntu1604-docker-8c-8g' + - gerrit-maven-stage: + sign-artifacts: true + build-node: centos7-builder-4c-4g + maven-versions-plugin: true + - gerrit-maven-docker-stage: + sign-artifacts: true + build-node: centos7-docker-8c-8g + container-public-registry: 'nexus3.onap.org:10001' + container-staging-registry: 'nexus3.onap.org:10003' + mvn-goals: 'clean package docker:build -DpushImage' project: 'dcaegen2/platform/inventory-api' stream: diff --git a/jjb/dcaegen2/dcaegen2-services-pm-mapper.yaml b/jjb/dcaegen2/dcaegen2-services-pm-mapper.yaml index 0d6687f8b..13a5ec142 100644 --- a/jjb/dcaegen2/dcaegen2-services-pm-mapper.yaml +++ b/jjb/dcaegen2/dcaegen2-services-pm-mapper.yaml @@ -25,6 +25,16 @@ - '{project-name}-{stream}-docker-java-shell-daily': mvn-goals: 'clean install dockerfile:build dockerfile:tag@tag-version dockerfile:push@push-latest dockerfile:push@push-version' script: '/bin/true' + - gerrit-maven-stage: + sign-artifacts: true + build-node: centos7-builder-4c-4g + maven-versions-plugin: true + - gerrit-maven-docker-stage: + sign-artifacts: true + build-node: centos7-docker-8c-8g + container-public-registry: 'nexus3.onap.org:10001' + container-staging-registry: 'nexus3.onap.org:10003' + mvn-goals: 'clean install dockerfile:build dockerfile:tag@tag-version dockerfile:push@push-latest dockerfile:push@push-version' - project: name: dcaegen2-services-pm-mapper-sonar -- cgit 1.2.3-korg