summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2019-06-25 11:05:23 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2019-06-25 11:05:23 -0700
commitaf108d9e65fcde0d2e44b2696cf91b98aa47bb91 (patch)
tree0d9260d2f199baaa46336b933c968d4d3aae811c
parent884adad3ad938223c1f0eddae7e7a9080c68c198 (diff)
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 <jwagantall@linuxfoundation.org>
-rw-r--r--jjb/dcaegen2/dcaegen2-analytics-tca.yaml5
-rw-r--r--jjb/dcaegen2/dcaegen2-collectors-hv-ves.yaml10
-rw-r--r--jjb/dcaegen2/dcaegen2-platform-inventory-api.yaml10
-rw-r--r--jjb/dcaegen2/dcaegen2-services-pm-mapper.yaml10
4 files changed, 35 insertions, 0 deletions
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