diff options
author | Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com> | 2021-02-03 12:05:27 +0100 |
---|---|---|
committer | Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com> | 2021-02-03 13:32:31 +0000 |
commit | 2de2a6d76295ff99e2087f173095f0a9b109a379 (patch) | |
tree | 16a93abf3854804fcdb0ad234c6670fee45ad151 | |
parent | 2e5a1a2e44d3eb5a0c2dd496189f2cf058381ac6 (diff) |
Prepare CI jobs verify, merge + sonar job for ves-openapi-manager
Change-Id: I14b0dd70fcbf57a5fce476e542c8e75206ce2282
Issue-ID: DCAEGEN2-2572
Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
-rw-r--r-- | jjb/dcaegen2/dcaegen2-platform-ves-openapi-manager.yaml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/jjb/dcaegen2/dcaegen2-platform-ves-openapi-manager.yaml b/jjb/dcaegen2/dcaegen2-platform-ves-openapi-manager.yaml index cb83ce386..04c26c012 100644 --- a/jjb/dcaegen2/dcaegen2-platform-ves-openapi-manager.yaml +++ b/jjb/dcaegen2/dcaegen2-platform-ves-openapi-manager.yaml @@ -1,5 +1,58 @@ --- - project: + name: dcaegen2-platform-ves-openapi-manager + project-name: 'dcaegen2-platform-ves-openapi-manager' + java-version: openjdk11 + jobs: + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - gerrit-maven-stage: + sign-artifacts: true + build-node: centos7-docker-8c-8g + maven-versions-plugin: true + - gerrit-maven-docker-stage: + 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 -DpushImageTag' + - '{project-name}-gerrit-release-jobs': + build-node: centos7-docker-8c-8g + + project: 'dcaegen2/platform/ves-openapi-manager' + stream: + - 'master': + branch: 'master' + mvn-settings: 'dcaegen2-platform-ves-openapi-manager-settings' + # due to a strange macro / variable translation problem this needs + # to be passed as a string block to properly get the properties + # correctly defined in the job + maven-deploy-properties: | + deployAtEnd=true + files: '**' + archive-artifacts: '' + build-node: 'ubuntu1804-docker-8c-8g' + +- project: + name: dcaegen2-platform-ves-openapi-sonar + java-version: openjdk11 + jobs: + - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: '{sonar_mvn_goal}' + cron: '@daily' + build-node: ubuntu1804-docker-8c-8g + project: 'dcaegen2/platform/ves-openapi-manager' + project-name: 'dcaegen2-platform-ves-openapi-manager' + branch: 'master' + mvn-settings: 'dcaegen2-platform-ves-openapi-manager-settings' + mvn-goals: 'clean install' + mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' + + +- project: name: dcaegen2-platform-ves-openapi-manager-project-view project-name: dcaegen2-platform-ves-openapi-manager views: |