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
42 # nonrtric:policy-agent
43 # Maven artifacts for nonrtric-policy-agent
45 <<: *nonrtric_jdk_common
46 name: nonrtric-policy-agent
47 project-name: '{name}'
48 mvn-opts: '-Ddocker.skip=true'
49 mvn-params: '-f policy-agent'
50 gerrit_trigger_file_paths:
51 - compare-type: REG_EXP
52 pattern: 'policy-agent/.*'
53 build-node: ubuntu1804-builder-4c-4g
67 # nonrtric:sdnc-a1-controller
68 # Maven artifacts for nonrtric-sdnc-a1-controller
70 <<: *nonrtric_jdk_common
71 name: nonrtric-sdnc-a1-controller
72 project-name: '{name}'
73 mvn-opts: '-Ddocker.skip=true'
74 mvn-params: '-f sdnc-a1-controller/northbound'
75 gerrit_trigger_file_paths:
76 - compare-type: REG_EXP
77 pattern: 'sdnc-a1-controller/northbound/.*'
78 build-node: ubuntu1804-builder-4c-4g
92 # nonrtric:enrichment-coordinator-service
93 # Maven artifacts for nonrtric-enrichment-coordinator-service
95 <<: *nonrtric_jdk_common
96 name: nonrtric-enrichment-coordinator-service
97 project-name: '{name}'
98 mvn-opts: '-Ddocker.skip=true'
99 mvn-params: '-f enrichment-coordinator-service'
100 gerrit_trigger_file_paths:
101 - compare-type: REG_EXP
102 pattern: 'enrichment-coordinator-service/.*'
103 build-node: ubuntu1804-builder-4c-4g
105 - gerrit-maven-verify
117 # nonrtric:r-app-catalogue
118 # Maven artifacts for r-app-catalogue
120 <<: *nonrtric_jdk_common
121 name: nonrtric-r-app-catalogue
122 project-name: '{name}'
123 mvn-opts: '-Ddocker.skip=true'
124 mvn-params: '-f r-app-catalogue'
125 gerrit_trigger_file_paths:
126 - compare-type: REG_EXP
127 pattern: 'r-app-catalogue/.*'
128 build-node: ubuntu1804-builder-4c-4g
130 - gerrit-maven-verify
143 <<: *nonrtric_jdk_common
144 name: nonrtric-o-ru-closed-loop-recovery
145 project-name: '{name}'
147 docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-recovery'
149 container-tag-method: yaml-file
150 # use host network to clone from our gerrit
151 docker-build-args: '--network=host'
152 # Directory with Dockerfile
153 docker-root: 'test/usecases/oruclosedlooprecovery/scriptversion/app'
154 # Limit build trigger to appropriate files
155 gerrit_trigger_file_paths:
156 - compare-type: REG_EXP
157 pattern: 'test/usecases/oruclosedlooprecovery/scriptversion/app/.*'
158 build-node: ubuntu1804-docker-4c-4g
159 # Includes verify and merge jobs
161 - "{project-name}-gerrit-docker-jobs"
169 <<: *nonrtric_jdk_common
170 name: nonrtric-dmaap-mediator-producer
171 project-name: '{name}'
173 docker-name: 'o-ran-sc/nonrtric-dmaap-mediator-producer'
175 container-tag-method: yaml-file
176 # use host network to clone from our gerrit
177 docker-build-args: '--network=host'
178 # Directory with Dockerfile
179 docker-root: 'dmaap-mediator-producer'
180 # Limit build trigger to appropriate files
181 gerrit_trigger_file_paths:
182 - compare-type: REG_EXP
183 pattern: 'dmaap-mediator-producer/.*'
184 build-node: ubuntu1804-docker-4c-4g
185 # Includes verify and merge jobs
187 - "{project-name}-gerrit-docker-jobs"
193 <<: *nonrtric_jdk_common
194 name: nonrtric-dmaap-mediator-producer-sonar
195 # prescan script requires ubuntu
196 # golang is only on docker-enabled nodes
197 build-node: ubuntu1804-docker-4c-4g
198 sonar-prescan-script: !include-raw-escape: prescan-dmaapmediatorproducer-ubuntu.sh
199 sonar-project-file: ""
200 java-version: openjdk11
201 # use sonarcloud values from defaults.yaml
204 sonar.login={sonarcloud_api_token}
205 sonar.projectKey={sonarcloud_project_organization}_{project-name}
206 sonar.projectName={project-name}
207 sonar.organization={sonarcloud_project_organization}
209 sonar.build.sourceEncoding=UTF-8
215 sonar.go.coverage.reportPaths=./coverage.txt
217 sonar.inclusions=dmaap-mediator-producer/internal/**/**.go
219 sonar.exclusions=dmaap-mediator-producer/main.go,dmaap-mediator-producer/mocks/**.go,dmaap-mediator-producer/internal/**/**_test.go
221 - gerrit-sonar-prescan-script
224 <<: *nonrtric_jdk_common
225 name: nonrtric-release
226 # maven release requires sigul which requires centos
227 # container release requires docker
228 build-node: centos7-docker-2c-8g
230 - '{project-name}-gerrit-release-jobs'
233 <<: *nonrtric_jdk_common
235 # template goal install builds docker image unnecessarily
236 mvn-params: '-Ddocker.skip=true'
238 sonarcloud-api-token: '{sonarcloud_api_token}'
239 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
240 sonarcloud-project-organization: '{sonarcloud_project_organization}'