3 name: cicn-libparc-x86_64
5 - "cicn-libparc-verify-{stream}-{os}-{executor-arch}"
6 - "cicn-libparc-merge-{stream}-{os}-{executor-arch}"
11 repo-os-part: "ubuntu.bionic.main"
13 repo-os-part: "ubuntu.focal.main"
15 repo-os-part: "centos7"
17 executor-arch: "x86_64"
21 branch: "cframework/master"
22 repo-stream-part: "master"
29 name: cicn-libparc-aarch64
31 - "cicn-libparc-verify-{stream}-{os}-{executor-arch}"
32 - "cicn-libparc-merge-{stream}-{os}-{executor-arch}"
37 repo-os-part: "ubuntu-arm.bionic.main"
39 executor-arch: "aarch64"
43 branch: "cframework/master"
44 repo-stream-part: "master"
53 - "cicn-viper-verify-{stream}-{os}-{executor-arch}"
54 - "cicn-viper-merge-{stream}-{os}-{executor-arch}"
59 repo-os-part: "ubuntu.bionic.main"
61 executor-arch: "x86_64"
65 branch: "viper/master"
66 repo-stream-part: "master"
73 name: "cicn-libparc-merge-{stream}-{os}-{executor-arch}"
75 project-type: freestyle
79 daysToKeep: "{build-days-to-keep}"
80 numToKeep: "{build-num-to-keep}"
81 artifactDaysToKeep: "{build-artifact-days-to-keep}"
82 artifactNumToKeep: "{build-artifact-num-to-keep}"
91 - maven-project-parameter:
94 maven-version: "mvn33-new"
95 - repo-name-parameter:
96 repo-name: "{repo-stream-part}.{repo-os-part}"
100 name: ARCHIVE_ARTIFACTS
101 default: "{archive-artifacts}"
102 description: Artifacts to archive to the logs server.
105 - gerrit-trigger-scm:
106 credentials-id: "jenkins-gerrit-credentials"
108 choosing-strategy: "default"
111 - fdio-infra-wrappers:
112 build-timeout: "{build-timeout}"
115 - gerrit-trigger-patch-merged:
120 - config-file-provider:
122 - file-id: ".packagecloud"
123 target: "/root/.packagecloud"
124 - config-file-provider:
126 - file-id: "packagecloud_api"
127 target: "/root/packagecloud_api"
129 maven-version: "mvn33-new"
131 settings: "cicn-settings"
133 global-settings: "global-settings"
134 global-settings-type: cfp
135 - shell: !include-raw-escape:
136 - include-raw-cicn-libparc-build.sh
137 - provide-maven-settings:
138 settings-file: "cicn-settings"
139 global-settings-file: "global-settings"
140 - shell: !include-raw-escape:
141 - ../scripts/maven_push_functions.sh
142 - include-raw-cicn-maven-push.sh
143 - shell: !include-raw-escape:
144 - ../scripts/packagecloud_push.sh
147 - fdio-infra-shiplogs:
148 maven-version: "mvn33-new"
151 name: "cicn-libparc-verify-{stream}-{os}-{executor-arch}"
153 project-type: freestyle
158 daysToKeep: "{build-days-to-keep}"
159 numToKeep: "{build-num-to-keep}"
160 artifactDaysToKeep: "{build-artifact-days-to-keep}"
161 artifactNumToKeep: "{build-artifact-num-to-keep}"
171 name: ARCHIVE_ARTIFACTS
172 default: "{archive-artifacts}"
173 description: Artifacts to archive to the logs server.
176 - gerrit-trigger-scm:
177 credentials-id: "jenkins-gerrit-credentials"
178 refspec: "$GERRIT_REFSPEC"
179 choosing-strategy: "gerrit"
182 - fdio-infra-wrappers:
183 build-timeout: "{build-timeout}"
186 - gerrit-trigger-patch-submitted:
191 - shell: !include-raw-escape:
192 - include-raw-cicn-libparc-build.sh
195 - fdio-infra-shiplogs:
196 maven-version: "mvn33-new"
199 name: "cicn-viper-merge-{stream}-{os}-{executor-arch}"
201 project-type: freestyle
205 daysToKeep: "{build-days-to-keep}"
206 numToKeep: "{build-num-to-keep}"
207 artifactDaysToKeep: "{build-artifact-days-to-keep}"
208 artifactNumToKeep: "{build-artifact-num-to-keep}"
217 - maven-project-parameter:
220 maven-version: "mvn33-new"
221 - repo-name-parameter:
222 repo-name: "{repo-stream-part}.{repo-os-part}"
226 name: ARCHIVE_ARTIFACTS
227 default: "{archive-artifacts}"
228 description: Artifacts to archive to the logs server.
231 - gerrit-trigger-scm:
232 credentials-id: "jenkins-gerrit-credentials"
234 choosing-strategy: "default"
237 - fdio-infra-wrappers:
238 build-timeout: "{build-timeout}"
241 - gerrit-trigger-patch-merged:
245 jobs: "cicn-libicnet-merge-{stream}-{os}"
249 - config-file-provider:
251 - file-id: ".packagecloud"
252 target: "/root/.packagecloud"
253 - config-file-provider:
255 - file-id: "packagecloud_api"
256 target: "/root/packagecloud_api"
258 maven-version: "mvn33-new"
260 settings: "cicn-settings"
262 global-settings: "global-settings"
263 global-settings-type: cfp
264 - shell: !include-raw-escape:
265 - include-raw-cicn-viper-build.sh
266 - provide-maven-settings:
267 settings-file: "cicn-settings"
268 global-settings-file: "global-settings"
269 - shell: !include-raw-escape:
270 - ../scripts/maven_push_functions.sh
271 - include-raw-cicn-maven-push.sh
272 - shell: !include-raw-escape:
273 - ../scripts/packagecloud_push.sh
276 - fdio-infra-shiplogs:
277 maven-version: "mvn33-new"
280 name: "cicn-viper-verify-{stream}-{os}-{executor-arch}"
282 project-type: freestyle
287 daysToKeep: "{build-days-to-keep}"
288 numToKeep: "{build-num-to-keep}"
289 artifactDaysToKeep: "{build-artifact-days-to-keep}"
290 artifactNumToKeep: "{build-artifact-num-to-keep}"
300 name: ARCHIVE_ARTIFACTS
301 default: "{archive-artifacts}"
302 description: Artifacts to archive to the logs server.
305 - gerrit-trigger-scm:
306 credentials-id: "jenkins-gerrit-credentials"
307 refspec: "$GERRIT_REFSPEC"
308 choosing-strategy: "gerrit"
311 - fdio-infra-wrappers:
312 build-timeout: "{build-timeout}"
315 - gerrit-trigger-patch-submitted:
320 - shell: !include-raw-escape:
321 - include-raw-cicn-viper-build.sh
324 - fdio-infra-shiplogs:
325 maven-version: "mvn33-new"
331 - gerrit-info-yaml-verify
332 build-node: centos7-builder-2c-2g
340 mvn-settings: cicn-settings
342 sonarcloud-project-organization: "{sonarcloud_project_organization}"
343 sonarcloud-api-token: "{sonarcloud_api_token}"
344 sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
346 build-node: centos7-builder-2c-2g