summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-04-06 09:16:00 +0200
committerZebek Bogumil <bogumil.zebek@nokia.com>2020-04-06 18:43:18 +0200
commita06b1454e0ddcc3884f54c5157bbbf006669fc9a (patch)
treed4f01f7bde3db57ccf8c0513679f4702bc194d52 /jjb
parentf05432d3c36087c0cb81517f44ccc15e1a6a9b9e (diff)
Standardized PNF simulator jjb configuration for building docker images
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I0ac210706fb2bf17741ea10f2ffe5a36c76080a5
Diffstat (limited to 'jjb')
-rw-r--r--jjb/integration/simulators/integration-pnf-simulator.yaml85
1 files changed, 56 insertions, 29 deletions
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