3 name: nonrtric-plt-ranpm-project-view
4 project-name: nonrtric-plt-ranpm
9 name: nonrtric-plt-ranpm-info
10 project: nonrtric/plt/ranpm
11 project-name: nonrtric-plt-ranpm
12 build-node: centos7-builder-1c-1g
15 - gerrit-info-yaml-verify
17 - _nonrtric-plt-ranpm_common: &nonrtric_plt_ranpm_jdk_common
18 name: nonrtric-plt-ranpm-common
20 project: nonrtric/plt/ranpm
21 # jenkins job name prefix
22 project-name: nonrtric-plt-ranpm
23 # maven settings file has docker credentials
24 mvn-settings: nonrtric-plt-ranpm-settings
26 java-version: openjdk17
29 <<: *nonrtric_plt_ranpm_jdk_common
30 name: nonrtric-plt-ranpm-gerrit-release
31 project-name: nonrtric-plt-ranpm
32 # maven release requires sigul which requires centos
33 # container release requires docker
34 build-node: centos7-docker-2c-8g
36 - "{project-name}-gerrit-release-jobs"
38 # Jobs for nonrtric-plt-ranpm-datafilecollector
40 <<: *nonrtric_plt_ranpm_jdk_common
41 name: nonrtric-plt-ranpm-datafilecollector-gerrit-maven-docker
43 project-name: nonrtric-plt-ranpm-datafilecollector
44 mvn-params: "-f datafilecollector -Dbuild.number=${{BUILD_NUMBER}}"
45 gerrit_trigger_file_paths:
46 - compare-type: REG_EXP
47 pattern: "datafilecollector/.*"
50 - gerrit-maven-verify-dependencies
51 - gerrit-maven-docker-merge
52 - gerrit-maven-docker-stage
53 - gerrit-maven-docker-verify
62 # Jobs for nonrtric-plt-ranpm-pmproducer
64 <<: *nonrtric_plt_ranpm_jdk_common
65 name: nonrtric-plt-ranpm-pmproducer-gerrit-maven-docker
67 project-name: nonrtric-plt-ranpm-pmproducer
68 mvn-params: "-f pmproducer -Dbuild.number=${{BUILD_NUMBER}}"
69 gerrit_trigger_file_paths:
70 - compare-type: REG_EXP
71 pattern: "pmproducer/.*"
74 - gerrit-maven-verify-dependencies
75 - gerrit-maven-docker-merge
76 - gerrit-maven-docker-stage
77 - gerrit-maven-docker-verify
86 # Jobs for nonrtric-plt-ranpm-influxlogger
88 <<: *nonrtric_plt_ranpm_jdk_common
89 name: nonrtric-plt-ranpm-influxlogger-gerrit-maven-docker
91 project-name: nonrtric-plt-ranpm-influxlogger
92 mvn-params: "-f influxlogger -Dbuild.number=${{BUILD_NUMBER}}"
93 gerrit_trigger_file_paths:
94 - compare-type: REG_EXP
95 pattern: "influxlogger/.*"
98 - gerrit-maven-verify-dependencies
99 - gerrit-maven-docker-merge
100 - gerrit-maven-docker-stage
101 - gerrit-maven-docker-verify
111 <<: *nonrtric_plt_ranpm_jdk_common
112 name: nonrtric-plt-ranpm-pm-file-converter
113 project-name: "{name}"
115 docker-name: "o-ran-sc/nonrtric-plt-ranpm-pm-file-converter"
117 container-tag-method: yaml-file
118 # use host network to clone from our gerrit
119 docker-build-args: "--network=host"
120 # Directory with Dockerfile
121 docker-root: "pm-file-converter"
122 # Directory where go test should be run
123 go-root: "pm-file-converter"
124 gerrit_trigger_file_paths:
125 - compare-type: REG_EXP
126 pattern: "pm-file-converter/.*"
127 build-node: ubuntu1804-docker-4c-4g
128 # Includes verify and merge jobs
130 - "{project-name}-gerrit-docker-jobs"
140 # Jobs for nonrtric-plt-ranpm-pm-file-converter SONAR
142 <<: *nonrtric_plt_ranpm_jdk_common
143 name: nonrtric-plt-ranpm-pm-file-converter-sonar
144 project-name: nonrtric-plt-ranpm-pm-file-converter
145 # prescan script requires ubuntu
146 # golang is only on docker-enabled nodes
147 build-node: ubuntu1804-docker-4c-4g
148 gerrit_trigger_file_paths:
149 - compare-type: REG_EXP
150 pattern: "pm-file-converter/.*"
151 sonar-prescan-script: !include-raw-escape: prescan-pm-file-converter-ubuntu.sh
152 sonar-project-file: ""
153 java-version: openjdk11
154 # use sonarcloud values from defaults.yaml
156 sonar.login={sonarcloud_api_token}
157 sonar.projectKey={sonarcloud_project_organization}_{project-name}
158 sonar.organization={sonarcloud_project_organization}
159 sonar.projectName={project-name}
160 sonar.build.sourceEncoding=UTF-8
162 sonar.projectBaseDir=pm-file-converter
163 sonar.go.coverage.reportPaths=coverage.txt
164 sonar.inclusions=**/*.go
165 sonar.exclusions=**/*_test.go
167 - gerrit-sonar-prescan-script
170 <<: *nonrtric_plt_ranpm_jdk_common
171 name: nonrtric-plt-ranpm-datafilecollector-sonar
172 project-name: nonrtric-plt-ranpm-datafilecollector
173 # template goal install builds docker image unnecessarily
174 mvn-params: "-f datafilecollector -Ddocker.skip=true"
175 gerrit_trigger_file_paths:
176 - compare-type: REG_EXP
177 pattern: "datafilecollector/.*"
179 sonarcloud-api-token: "{sonarcloud_api_token}"
180 sonarcloud-project-key: "nonrtric-plt-ranpm-datafilecollector"
181 sonarcloud-project-organization: "{sonarcloud_project_organization}"
186 <<: *nonrtric_plt_ranpm_jdk_common
187 name: nonrtric-plt-ranpm-pmproducer-sonar
188 project-name: nonrtric-plt-ranpm-pmproducer
189 # template goal install builds docker image unnecessarily
190 mvn-params: "-f pmproducer -Ddocker.skip=true"
191 gerrit_trigger_file_paths:
192 - compare-type: REG_EXP
193 pattern: "pmproducer/.*"
195 sonarcloud-api-token: "{sonarcloud_api_token}"
196 sonarcloud-project-key: "nonrtric-plt-ranpm-pmproducer"
197 sonarcloud-project-organization: "{sonarcloud_project_organization}"
202 <<: *nonrtric_plt_ranpm_jdk_common
203 name: nonrtric-plt-ranpm-influxlogger-sonar
204 project-name: nonrtric-plt-ranpm-influxlogger
205 # template goal install builds docker image unnecessarily
206 mvn-params: "-f influxlogger -Ddocker.skip=true"
207 gerrit_trigger_file_paths:
208 - compare-type: REG_EXP
209 pattern: "influxlogger/.*"
211 sonarcloud-api-token: "{sonarcloud_api_token}"
212 sonarcloud-project-key: "nonrtric-plt-ranpm-influxlogger"
213 sonarcloud-project-organization: "{sonarcloud_project_organization}"