Merge "[SDC] Update Streams"
[ci-management.git] / jjb / sdc / sdc.yaml
1 ---
2 - project:
3     name: sdc-sdc-docker-project-view
4     project-name: sdc-sdc-docker
5     views:
6       - project-view
7
8 - project:
9     name: sdc-maven-project-view
10     project-name: sdc-maven
11     views:
12       - project-view
13
14 - project:
15     name: sdc-clm-project-view
16     project-name: sdc-clm
17     views:
18       - project-view
19
20 - project:
21     name: sdc-project-view
22     project-name: sdc
23     views:
24       - project-view
25
26 - project:
27     name: sdc
28     project-name: 'sdc'
29     jobs:
30       - '{project-name}-{stream}-verify-java':
31           # this build is unit test only (Verify 1/2)
32           mvn-params: '-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
33           build-node: 'ubuntu1804-docker-8c-8g'
34       - '{project-name}-{stream}-sdc-merge-java':
35           build-node: 'ubuntu1804-docker-8c-16g'
36           docker-pom: 'pom.xml'
37           mvn-profile: 'docker'
38           mvn-params: '-Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
39           # running everything (unit tests and integration tests in a single job for merge, as we don't need // run
40           # for merge, but still saving integration tests results and report.
41           archive-artifacts: >
42               **/*.log
43               **/hs_err_*.log
44               **/target/**/feature.xml
45               **/target/failsafe-reports/failsafe-summary.xml
46               integration-tests/target/ExtentReport/API/*.html
47               integration-tests/target/ExtentReport/UI/*.html
48               integration-tests/target/ExtentReport/UI/screenshots/*.png
49       - gerrit-maven-stage:
50           build-timeout: 90
51           sign-artifacts: true
52           build-node: centos7-builder-4c-4g
53           maven-versions-plugin: true
54           mvn-params: '-DskipTests=true -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
55       - gerrit-maven-docker-stage:
56           build-node: ubuntu1804-docker-v1-8c-8g
57           maven-versions-plugin: true
58           mvn-params: '-P docker -DskipTests=true -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
59           container-public-registry: 'nexus3.onap.org:10001'
60           container-staging-registry: 'nexus3.onap.org:10003'
61       - '{project-name}-gerrit-release-jobs':
62           build-node: centos7-docker-8c-8g
63
64     project: 'sdc'
65     stream:
66       - 'master':
67           branch: 'master'
68           java-version: openjdk11
69       - 'honolulu':
70           branch: 'honolulu'
71           java-version: openjdk11
72 #     - 'frankfurt':
73 #         branch: 'frankfurt'
74 #         java-version: openjdk8
75     mvn-settings: 'sdc-settings'
76     files: '**'
77     archive-artifacts: ''
78     build-node: ubuntu1804-docker-8c-8g
79     maven-version: 'mvn36'
80
81 #- project:
82 #    name: sdc-arm64
83 #    project-name: 'sdc-arm64'
84 #    jobs:
85 #      - '{project-name}-{stream}-docker-version-java-daily':
86 #          build-node: 'ubuntu1804-docker-arm64-4c-2g'
87 #          docker-pom: 'pom.xml'
88 #          mvn-profile: 'docker'
89 #          mvn-params: '-DskipTests=true -Dnpm.registry=https://nexus.onap.org/content/repositories/npm/'
90 #    project: 'sdc'
91 #    stream:
92 #      - 'master':
93 #          branch: 'master'
94 #    mvn-settings: 'sdc-settings'
95 #    files: '**'
96 #    archive-artifacts: ''
97 #    maven-version: 'mvn35'
98 #
99 - project:
100     name: sdc-sonar
101     jobs:
102       - gerrit-maven-sonar:
103           build-timeout: 120
104     sonarcloud: true
105     sonarcloud-project-organization: '{sonarcloud_project_organization}'
106     sonarcloud-api-token: '{sonarcloud_api_token}'
107     sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
108     sonar-mvn-goal: '{sonar_mvn_goal}'
109     cron: '@daily'
110     build-node: ubuntu1804-docker-8c-16g
111     project: 'sdc'
112     project-name: 'sdc'
113     branch: 'master'
114     mvn-settings: 'sdc-settings'
115     java-version: openjdk11
116     mvn-params: '-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
117     mvn-goals: 'clean install'
118     mvn-opts: '-Xmx1024m'
119
120 - project:
121     name: sdc-clm
122     jobs:
123       - gerrit-maven-clm:
124           build-timeout: 120
125           submodule-timeout: 30
126           mvn-params: '-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
127     nexus-iq-namespace: 'onap-'
128     project: sdc
129     project-name: 'sdc'
130     build-node: ubuntu1804-docker-8c-8g
131     branch: 'master'
132     mvn-settings: 'sdc-settings'
133     java-version: openjdk11
134
135 - project:
136     name: sdc-info
137     project-name: sdc
138     jobs:
139       - gerrit-info-yaml-verify
140     build-node: centos7-builder-2c-1g
141     project: sdc
142     branch: master
143
144 - project:
145     name: 'sdc-whitesource'
146     project-name: 'sdc'
147     build-node: ubuntu1804-docker-8c-8g
148     jobs:
149       - gerrit-whitesource-scan:
150           build-timeout: 120
151           submodule-timeout: 30
152           java-opts: '-Xmx2048m'
153     mvn-settings: 'sdc-settings'
154     wss-product-name: 'sdc'
155     mvn-clean-install: true
156     project: 'sdc'
157     branch: master
158     java-version: openjdk11