blob: 1d814029bbc6fa885a2d997e321863d5996e4054 [file] [log] [blame]
---
- project:
name: sdc-sdc-docker-project-view
project-name: sdc-sdc-docker
views:
- project-view
- project:
name: sdc-maven-project-view
project-name: sdc-maven
views:
- project-view
- project:
name: sdc-clm-project-view
project-name: sdc-clm
views:
- project-view
- project:
name: sdc-project-view
project-name: sdc
views:
- project-view
- project:
name: sdc
project-name: 'sdc'
jobs:
- '{project-name}-{stream}-verify-java':
# this build is unit test only (Verify 1/2)
mvn-params: '-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
build-node: 'ubuntu1804-docker-8c-8g'
- '{project-name}-{stream}-sdc-merge-java':
build-node: 'ubuntu1804-docker-8c-16g'
docker-pom: 'pom.xml'
mvn-profile: 'docker'
mvn-params: '-Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
# running everything (unit tests and integration tests in a single job for merge, as we don't need // run
# for merge, but still saving integration tests results and report.
archive-artifacts: >
**/*.log
**/hs_err_*.log
**/target/**/feature.xml
**/target/failsafe-reports/failsafe-summary.xml
**/target/surefire-reports/*-output.txt
integration-tests/target/ExtentReport/API/*.html
integration-tests/target/ExtentReport/UI/*.html
integration-tests/target/ExtentReport/UI/screenshots/*.png
/tmp/sdc-integration-tests/*.log*
/tmp/sdc-integration-tests/SDC/ONBOARDING-BE/*.log
/tmp/sdc-integration-tests/SDC/SDC-BE/*.log
/tmp/sdc-integration-tests/SDC/SDC-FE/*.log
- gerrit-maven-stage:
build-timeout: 90
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
mvn-params: '-DskipTests=true -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
- gerrit-maven-docker-stage:
build-node: ubuntu1804-docker-v1-8c-8g
maven-versions-plugin: true
mvn-params: '-P docker -DskipTests=true -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
container-public-registry: 'nexus3.onap.org:10001'
container-staging-registry: 'nexus3.onap.org:10003'
- '{project-name}-gerrit-release-jobs':
build-node: centos7-docker-8c-8g
project: 'sdc'
stream:
- 'master':
branch: 'master'
java-version: openjdk11
- 'guilin':
branch: 'guilin'
java-version: openjdk11
# - 'frankfurt':
# branch: 'frankfurt'
# java-version: openjdk8
mvn-settings: 'sdc-settings'
files: '**'
archive-artifacts: ''
build-node: ubuntu1804-docker-8c-8g
maven-version: 'mvn36'
#- project:
# name: sdc-arm64
# project-name: 'sdc-arm64'
# jobs:
# - '{project-name}-{stream}-docker-version-java-daily':
# build-node: 'ubuntu1804-docker-arm64-4c-2g'
# docker-pom: 'pom.xml'
# mvn-profile: 'docker'
# mvn-params: '-DskipTests=true -Dnpm.registry=https://nexus.onap.org/content/repositories/npm/'
# project: 'sdc'
# stream:
# - 'master':
# branch: 'master'
# mvn-settings: 'sdc-settings'
# files: '**'
# archive-artifacts: ''
# maven-version: 'mvn35'
#
- project:
name: sdc-sonar
jobs:
- gerrit-maven-sonar:
build-timeout: 120
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-16g
project: 'sdc'
project-name: 'sdc'
branch: 'master'
mvn-settings: 'sdc-settings'
java-version: openjdk11
mvn-params: '-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
mvn-goals: 'clean install'
mvn-opts: '-Xmx1024m'
- project:
name: sdc-clm
jobs:
- gerrit-maven-clm:
build-timeout: 120
submodule-timeout: 30
mvn-params: '-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
nexus-iq-namespace: 'onap-'
project: sdc
project-name: 'sdc'
build-node: ubuntu1804-docker-8c-8g
branch: 'master'
mvn-settings: 'sdc-settings'
java-version: openjdk11
- project:
name: sdc-info
project-name: sdc
jobs:
- gerrit-info-yaml-verify
build-node: centos7-builder-2c-1g
project: sdc
branch: master
- project:
name: 'sdc-whitesource'
project-name: 'sdc'
build-node: ubuntu1804-docker-8c-8g
jobs:
- gerrit-whitesource-scan:
build-timeout: 120
submodule-timeout: 30
java-opts: '-Xmx2048m'
mvn-settings: 'sdc-settings'
wss-product-name: 'sdc'
mvn-clean-install: true
project: 'sdc'
branch: master
java-version: openjdk11