blob: 1d814029bbc6fa885a2d997e321863d5996e4054 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
---
- 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
|