[DCAE] Switch to global jobs - java sub-components (KPI-ms)
KPI-mS is sub-project/component under dcaegen2/services
Change-Id: I52965bb3e03631c1dda209653a78a36abaa5014d
Signed-off-by: vv770d <vv770d@att.com>
Issue-ID: DCAEGEN2-3188
Issue-ID: DCAEGEN2-3186
Signed-off-by: vv770d <vv770d@att.com>
diff --git a/jjb/dcaegen2/dcaegen2-services-kpi-computation-ms.yaml b/jjb/dcaegen2/dcaegen2-services-kpi-computation-ms.yaml
index 232a499..8ff354c 100644
--- a/jjb/dcaegen2/dcaegen2-services-kpi-computation-ms.yaml
+++ b/jjb/dcaegen2/dcaegen2-services-kpi-computation-ms.yaml
@@ -1,15 +1,12 @@
---
- project:
- name: dcaegen2-services-kpi-computation-ms-verify
- project-name: 'dcaegen2-services'
+ name: dcaegen2-services-kpi-computation-ms
+ project-name: 'dcaegen2-services-kpi-computation-ms'
project: 'dcaegen2/services'
jobs:
- - '{project-name}-{stream}-{subproject}-verify-java'
- - '{project-name}-{stream}-{subproject}-merge-java'
- subproject:
- - 'kpi-computation-ms':
- pom: 'components/kpi-computation-ms/pom.xml'
- pattern: 'components/kpi-computation-ms/**'
+ - gerrit-maven-verify:
+ pre-build-script: !include-raw-escape: ../../shell/onap-gerrit-review-wrapper.sh
+ - gerrit-maven-merge
stream:
- 'master':
branch: 'master'
@@ -22,6 +19,13 @@
files: '**'
archive-artifacts: ''
build-node: 'ubuntu1804-docker-8c-8g'
+ container-public-registry: 'nexus3.onap.org:10001'
+ container-staging-registry: 'nexus3.onap.org:10003'
+ mvn-goals: 'clean package docker:build'
+ mvn-params: '-f components/kpi-computation-ms/pom.xml'
+ pattern: 'components/kpi-computation-ms/**'
+ mvn-snapshot-id: 'ecomp-snapshots'
+ nexus-snapshot-repo: 'snapshots'
maven-deploy-properties: |
deployAtEnd=true