3 name: nonrtric-project-view
11 project-name: nonrtric
12 build-node: centos7-builder-1c-1g
14 - gerrit-info-yaml-verify
16 - nonrtric_jdk_common: &nonrtric_jdk_common
17 name: nonrtric-jdk-common
20 # jenkins job name prefix
21 project-name: nonrtric
22 # maven settings file has docker credentials
23 mvn-settings: nonrtric-settings
25 java-version: openjdk11
28 <<: *nonrtric_jdk_common
29 mvn-params: -Dbuild.number=${{BUILD_NUMBER}}
31 - gerrit-maven-docker-verify
32 - gerrit-maven-docker-merge
33 - gerrit-maven-docker-stage
44 # nonrtric:a1-policy-management-service/
45 # Maven artifacts for nonrtric-a1-policy-management-service/
47 <<: *nonrtric_jdk_common
48 name: nonrtric-a1-policy-management-service
49 project-name: '{name}'
50 mvn-opts: '-Ddocker.skip=true'
51 mvn-params: '-f a1-policy-management-service/'
52 gerrit_trigger_file_paths:
53 - compare-type: REG_EXP
54 pattern: 'a1-policy-management-service/.*'
55 build-node: ubuntu1804-builder-4c-4g
67 # nonrtric:policy-agent/
68 # Maven artifacts for nonrtric-policy-agent/
70 <<: *nonrtric_jdk_common
71 name: nonrtric-policy-agent
72 project-name: '{name}'
73 mvn-opts: '-Ddocker.skip=true'
74 mvn-params: '-f policy-agent/'
75 gerrit_trigger_file_paths:
76 - compare-type: REG_EXP
77 pattern: 'policy-agent/.*'
78 build-node: ubuntu1804-builder-4c-4g
90 # nonrtric:sdnc-a1-controller
91 # Maven artifacts for nonrtric-sdnc-a1-controller
93 <<: *nonrtric_jdk_common
94 name: nonrtric-sdnc-a1-controller
95 project-name: '{name}'
96 mvn-opts: '-Ddocker.skip=true'
97 mvn-params: '-f sdnc-a1-controller/northbound'
98 gerrit_trigger_file_paths:
99 - compare-type: REG_EXP
100 pattern: 'sdnc-a1-controller/northbound/.*'
101 build-node: ubuntu1804-builder-4c-4g
103 - gerrit-maven-verify
117 # nonrtric:information-coordinator-service
118 # Maven artifacts for nonrtric-information-coordinator-service
120 <<: *nonrtric_jdk_common
121 name: nonrtric-information-coordinator-service
122 project-name: '{name}'
123 mvn-opts: '-Ddocker.skip=true'
124 mvn-params: '-f information-coordinator-service'
125 gerrit_trigger_file_paths:
126 - compare-type: REG_EXP
127 pattern: 'information-coordinator-service/.*'
128 build-node: ubuntu1804-builder-4c-4g
130 - gerrit-maven-verify
140 # nonrtric:enrichment-coordinator-service
141 # Maven artifacts for nonrtric-enrichment-coordinator-service
143 <<: *nonrtric_jdk_common
144 name: nonrtric-enrichment-coordinator-service
145 project-name: '{name}'
146 mvn-opts: '-Ddocker.skip=true'
147 mvn-params: '-f enrichment-coordinator-service'
148 gerrit_trigger_file_paths:
149 - compare-type: REG_EXP
150 pattern: 'enrichment-coordinator-service/.*'
151 build-node: ubuntu1804-builder-4c-4g
153 - gerrit-maven-verify
164 <<: *nonrtric_jdk_common
165 name: nonrtric-release
166 # maven release requires sigul which requires centos
167 # container release requires docker
168 build-node: centos7-docker-2c-8g
170 - '{project-name}-gerrit-release-jobs'
173 <<: *nonrtric_jdk_common
175 project-name: '{name}'
176 # template goal install builds docker image unnecessarily
177 mvn-params: '-Ddocker.skip=true'
179 sonarcloud-api-token: '{sonarcloud_api_token}'
180 sonarcloud-project-key: '{sonarcloud_project_organization}_nonrtric'
181 sonarcloud-project-organization: '{sonarcloud_project_organization}'
187 <<: *nonrtric_jdk_common
188 name: nonrtric-o-ru-closed-loop-recovery
189 project-name: '{name}'
191 docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-recovery'
193 container-tag-method: yaml-file
194 # use host network to clone from our gerrit
195 docker-build-args: '--network=host'
196 # Directory with Dockerfile
197 docker-root: 'test/usecases/oruclosedlooprecovery/scriptversion/app'
198 # Limit build trigger to appropriate files
199 gerrit_trigger_file_paths:
200 - compare-type: REG_EXP
201 pattern: 'test/usecases/oruclosedlooprecovery/scriptversion/app/.*'
202 build-node: ubuntu1804-docker-4c-4g
203 # Includes verify and merge jobs
205 - "{project-name}-gerrit-docker-jobs"
215 <<: *nonrtric_jdk_common
216 name: nonrtric-o-ru-closed-loop-consumer
217 project-name: '{name}'
219 docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-consumer'
221 container-tag-method: yaml-file
222 # use host network to clone from our gerrit
223 docker-build-args: '--network=host'
224 # Directory with Dockerfile
225 docker-root: 'test/usecases/oruclosedlooprecovery/goversion'
226 # Directory where go test should be run
227 go-root: 'test/usecases/oruclosedlooprecovery/goversion'
228 # Limit build trigger to appropriate files
229 gerrit_trigger_file_paths:
230 - compare-type: REG_EXP
231 pattern: 'test/usecases/oruclosedlooprecovery/goversion/.*'
232 build-node: ubuntu1804-docker-4c-4g
233 # Includes verify and merge jobs
235 - "{project-name}-gerrit-docker-jobs"
244 <<: *nonrtric_jdk_common
245 name: nonrtric-o-ru-closed-loop-consumer-sonar
246 project-name: nonrtric-o-ru-closed-loop-consumer-sonar
247 # prescan script requires ubuntu
248 # golang is only on docker-enabled nodes
249 build-node: ubuntu1804-docker-4c-4g
250 sonar-prescan-script: !include-raw-escape: prescan-oruclosedloopconsumer-ubuntu.sh
251 sonar-project-file: ""
252 java-version: openjdk11
253 # use sonarcloud values from defaults.yaml
256 sonar.login={sonarcloud_api_token}
257 sonar.projectKey={sonarcloud_project_organization}_nonrtric-o-ru-closed-loop-consumer
258 sonar.organization={sonarcloud_project_organization}
260 sonar.build.sourceEncoding=UTF-8
266 sonar.go.coverage.reportPaths=test/usecases/oruclosedlooprecovery/goversion/coverage.txt
268 sonar.inclusions=test/usecases/oruclosedlooprecovery/goversion/internal/**/**.go,test/usecases/oruclosedlooprecovery/goversion/**.go
270 sonar.exclusions=test/usecases/oruclosedlooprecovery/goversion/mocks/**.go,test/usecases/oruclosedlooprecovery/goversion/internal/**/**_test.go,test/usecases/oruclosedlooprecovery/goversion/**_test.go,test/usecases/oruclosedlooprecovery/goversion/simulator/**.go
272 - gerrit-sonar-prescan-script