Migrate gerrit-maven-stage (DCAEGEN)-2 75/90475/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 25 Jun 2019 18:05:23 +0000 (11:05 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 25 Jun 2019 18:05:23 +0000 (11:05 -0700)
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>
jjb/dcaegen2/dcaegen2-analytics-tca.yaml
jjb/dcaegen2/dcaegen2-collectors-hv-ves.yaml
jjb/dcaegen2/dcaegen2-platform-inventory-api.yaml
jjb/dcaegen2/dcaegen2-services-pm-mapper.yaml

index d32d4b9..a0abcbc 100644 (file)
       - '{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
index 3a574a5..7cc2dbd 100644 (file)
           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
index d33b745..586ba64 100644 (file)
           # 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:
index 0d6687f..13a5ec1 100644 (file)
       - '{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