Migrate gerrit-maven-stage (DCAEGEN)-4
Migrate to use gerrit-maven-stage from
global-jjb to allow the generation of
signed release artifacts that will reduce
release processing time.
Do not sign artifacts in maven-docker-stage as
there are no jars being process in these jobs.
Change-Id: I9145dfdd2852a107f3120910002d75dd05a98ac6
Issue-ID: CIMAN-234
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
diff --git a/jjb/dcaegen2/dcaegen2-services-bbs-eventprocessor-java.yaml b/jjb/dcaegen2/dcaegen2-services-bbs-eventprocessor-java.yaml
index 2e49ee5..78f758f 100644
--- a/jjb/dcaegen2/dcaegen2-services-bbs-eventprocessor-java.yaml
+++ b/jjb/dcaegen2/dcaegen2-services-bbs-eventprocessor-java.yaml
@@ -6,8 +6,6 @@
jobs:
- '{project-name}-{stream}-{subproject}-verify-java'
- '{project-name}-{stream}-{subproject}-merge-java'
- - '{project-name}-{stream}-{subproject}-release-version-java-daily':
- version-properties: 'components/bbs-event-processor/version.properties'
subproject:
- 'bbs-event-processor':
pom: 'components/bbs-event-processor/pom.xml'
@@ -25,6 +23,38 @@
build-node: 'ubuntu1604-docker-8c-8g'
- project:
+ name: dcaegen2-services-bbs-event-processor-release
+ project: 'dcaegen2/services'
+ project-name: 'dcaegen2-services-bbs-event-processor'
+ jobs:
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos7-builder-4c-4g
+ maven-versions-plugin: true
+ version-properties-file: 'components/bbs-event-processor/version.properties'
+ mvn-pom: 'components/bbs-event-processor/pom.xml'
+ mvn-params: '-f components/bbs-event-processor/pom.xml'
+ pattern: 'components/bbs-event-processor/**'
+ - gerrit-maven-docker-stage:
+ build-node: ubuntu1604-docker-8c-8g
+ mvn-goals: 'clean package docker:build -DpushImage -f components/bbs-event-processor/pom.xml'
+ container-public-registry: 'nexus3.onap.org:10001'
+ container-staging-registry: 'nexus3.onap.org:10003'
+ pattern: 'components/bbs-event-processor/**'
+
+ stream:
+ - 'master':
+ branch: 'master'
+ - 'dublin':
+ branch: 'dublin'
+ mvn-settings: 'dcaegen2-services-settings'
+ maven-deploy-properties: |
+ deployAtEnd=true
+ files: '**'
+ archive-artifacts: ''
+ build-node: 'ubuntu1604-docker-8c-8g'
+
+- project:
name: dcaegen2-services-bbs-event-processor-sonar
jobs:
- gerrit-maven-sonar