From a06b1454e0ddcc3884f54c5157bbbf006669fc9a Mon Sep 17 00:00:00 2001 From: Bartosz Gardziejewski Date: Mon, 6 Apr 2020 09:16:00 +0200 Subject: Standardized PNF simulator jjb configuration for building docker images Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski Change-Id: I0ac210706fb2bf17741ea10f2ffe5a36c76080a5 --- .../simulators/integration-pnf-simulator.yaml | 85 ++++++++++++++-------- 1 file changed, 56 insertions(+), 29 deletions(-) (limited to 'jjb/integration/simulators') diff --git a/jjb/integration/simulators/integration-pnf-simulator.yaml b/jjb/integration/simulators/integration-pnf-simulator.yaml index 3e7c0f812..85f0732d7 100644 --- a/jjb/integration/simulators/integration-pnf-simulator.yaml +++ b/jjb/integration/simulators/integration-pnf-simulator.yaml @@ -1,34 +1,61 @@ --- - project: - name: integration-simulators-pnf-simulator-info - project-name: integration-simulators-pnf-simulator - jobs: - - gerrit-info-yaml-verify - build-node: centos7-builder-2c-1g - project: integration/simulators/pnf-simulator - branch: master + name: integration-simulators-pnf-simulator + project-name: 'integration-simulators-pnf-simulator' + stream: + - 'master': + branch: 'master' + java-version: openjdk8 + project: 'integration/simulators/pnf-simulator' + mvn-settings: 'integration-simulators-pnf-simulator-settings' + files: '**' + maven-deploy-properties: | + deployAtEnd=true + archive-artifacts: '' + build-node: ubuntu1804-docker-8c-8g + jobs: + - '{project-name}-{stream}-verify-java': + mvn-goals: 'clean install' + - '{project-name}-{stream}-merge-java': + mvn-goals: 'clean deploy' + - '{project-name}-gerrit-release-jobs': + build-node: centos7-docker-8c-8g + - gerrit-maven-stage: + sign-artifacts: true + build-node: centos7-docker-8c-8g + maven-versions-plugin: true + mvn-goals: 'clean deploy' + - 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-params: '-P docker -DskipTests=true -DskipNexusStagingDeployMojo=true -DskipDockerPush=false' - project: - name: integration-simulators-pnf-simulator-linters - project: integration/simulators/pnf-simulator - project-name: integration-simulators-pnf-simulator - python-version: python3 - jobs: - - '{project-name}-{stream}-{subproject}-lint' - subproject: - - 'yaml': - tox-dir: '.' - tox-envs: 'yaml' - pattern: '**/*.yaml' - - 'yml': - tox-dir: '.' - tox-envs: 'yaml' - pattern: '**/*.yml' - - 'json': - tox-dir: '.' - tox-envs: 'json' - pattern: '**/*.json' - stream: - - 'master': - branch: 'master' + name: integration-simulators-pnf-simulator-sonar + java-version: openjdk8 + 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: 'integration/simulators/pnf-simulator' + project-name: 'integration-simulators-pnf-simulator' + branch: 'master' + mvn-settings: 'integration-simulators-pnf-simulator-settings' + mvn-goals: 'clean install' + mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' + +- project: + name: integration-simulators-pnf-simulator-info + project-name: integration-simulators-pnf-simulator + jobs: + - gerrit-info-yaml-verify + build-node: centos7-builder-2c-1g + project: integration/simulators/pnf-simulator + branch: master -- cgit 1.2.3-korg