1 # Copyright (c) 2020 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
16 name: hicn-os-eol-x86_64
18 - "hicn-verify-{stream}-{os}-{executor-arch}"
19 - "hicn-merge-{stream}-{os}-{executor-arch}"
24 repo-os-part: "ubuntu.bionic.main"
26 repo-os-part: "centos7"
28 executor-arch: "x86_64"
33 repo-stream-part: "stable.2009"
34 repository-name: "hicn"
37 repo-stream-part: "stable.2005"
38 repository-name: "hicn"
43 - "hicn-verify-{stream}-{os}-{executor-arch}"
44 - "hicn-merge-{stream}-{os}-{executor-arch}"
49 repo-os-part: "ubuntu.focal.main"
51 executor-arch: "x86_64"
56 repo-stream-part: "master"
57 repository-name: "hicn"
60 repo-stream-part: "stable.2101"
61 repository-name: "hicn"
64 repo-stream-part: "stable.2009"
65 repository-name: "hicn"
68 repo-stream-part: "stable.2005"
69 repository-name: "hicn"
74 - "hicn-verify-{stream}-{os}-{executor-arch}"
75 - "hicn-merge-{stream}-{os}-{executor-arch}"
81 repo-os-part: "ubuntu-arm.focal.main"
83 executor-arch: "aarch64"
88 repo-stream-part: "master"
89 repository-name: "hicn"
92 repo-stream-part: "stable.2101"
93 repository-name: "hicn"
96 name: hicn-beta-x86_64
98 - "hicn-verify-{stream}-{os}-{executor-arch}"
103 repo-os-part: "ubuntu.focal.main"
105 executor-arch: "x86_64"
109 branch: "hicn-light-ng"
110 repo-stream-part: "hicn-light-ng"
113 name: hicn-beta-aarch64
115 - "hicn-verify-{stream}-{os}-{executor-arch}"
120 repo-os-part: "ubuntu-arm.focal.main"
122 executor-arch: "aarch64"
126 branch: "hicn-light-ng"
127 repo-stream-part: "hicn-light-ng"
132 - "hicn-checkstyle-verify-{stream}-{os}-{executor-arch}"
137 repo-stream-part: "master"
139 branch: "stable/2101"
140 repo-stream-part: "stable.2101"
141 repository-name: "hicn"
143 branch: "stable/2009"
144 repo-stream-part: "stable.2009"
145 repository-name: "hicn"
147 branch: "stable/2005"
148 repo-stream-part: "stable.2005"
149 repository-name: "hicn"
151 branch: "hicn-light-ng"
152 repo-stream-part: "hicn-light-ng"
155 repo-os-part: "ubuntu.focal.main"
156 executor-arch: "x86_64"
159 name: hicn-extras-x86_64
161 - "hicn-extras-verify-{stream}-{os}-{executor-arch}"
162 - "hicn-extras-build-{stream}-{os}-{executor-arch}"
166 repo-os-part: "ubuntu.focal.main"
168 executor-arch: "x86_64"
173 repo-stream-part: "master"
176 name: hicn-extras-aarch64
178 - "hicn-extras-verify-{stream}-{os}-{executor-arch}"
179 - "hicn-extras-build-{stream}-{os}-{executor-arch}"
184 repo-os-part: "ubuntu-arm.focal.main"
186 executor-arch: "aarch64"
191 repo-stream-part: "master"
200 name: "hicn-checkstyle-verify-{stream}-{os}-{executor-arch}"
202 project-type: freestyle
203 node: "builder-{os}-prod-{executor-arch}"
205 archive-artifacts: "**/tmp/hicn-failed-unittests/*/* **/core"
208 daysToKeep: "{build-days-to-keep}"
209 numToKeep: "{build-num-to-keep}"
210 artifactDaysToKeep: "{build-artifact-days-to-keep}"
211 artifactNumToKeep: "{build-artifact-num-to-keep}"
220 - repo-name-parameter:
221 repo-name: "{repo-stream-part}.ubuntu.bionic.main"
222 - archive-artifacts-parameter:
223 artifacts: '{archive-artifacts}'
226 - gerrit-trigger-scm:
227 credentials-id: "jenkins-gerrit-credentials"
228 refspec: "$GERRIT_REFSPEC"
229 choosing-strategy: "gerrit"
232 - fdio-infra-wrappers:
233 build-timeout: "{build-timeout}"
237 server-name: "Primary"
239 - patchset-created-event:
240 exclude-drafts: "true"
241 exclude-trivial-rebase: "false"
242 exclude-no-code-change: "true"
243 - draft-published-event
244 - comment-added-contains-event:
245 comment-contains-value: "checkstylecheck"
246 - comment-added-contains-event:
247 comment-contains-value: "docsonly"
248 - comment-added-contains-event:
249 comment-contains-value: "recheck"
250 - comment-added-contains-event:
251 comment-contains-value: "reverify"
253 - project-compare-type: "ANT"
254 project-pattern: "{project}"
256 - branch-compare-type: "ANT"
257 branch-pattern: "**/{branch}"
259 - compare-type: REG_EXP
260 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
261 disable-strict-forbidden-file-verification: "true"
263 gerrit-build-notbuilt-verified-value: 0
264 gerrit-build-successful-verified-value: 1
265 # yamllint disable-line rule:line-length
266 notbuilt-message: "Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes."
267 # yamllint disable-line rule:line-length
268 failed-message: "Checkstyle failed. No further verify jobs will be started."
269 successful-message: "checkstyle_success"
277 - shell: !include-raw-escape:
278 - ../scripts/setup_executor_env.sh
279 - shell: !include-raw-escape:
280 - include-raw-hicn-checkstyle.sh
285 rerun-unstable-builds: true
290 name: "hicn-verify-{stream}-{os}-{executor-arch}"
292 project-type: freestyle
293 node: "builder-{os}-prod-{executor-arch}"
297 daysToKeep: "{build-days-to-keep}"
299 artifactDaysToKeep: "{build-artifact-days-to-keep}"
300 artifactNumToKeep: "{build-artifact-num-to-keep}"
309 - repo-name-parameter:
310 repo-name: "{repo-stream-part}.{repo-os-part}"
313 - archive-artifacts-parameter:
314 artifacts: '{archive-artifacts}'
317 - gerrit-trigger-scm:
318 credentials-id: "jenkins-gerrit-credentials"
319 refspec: "$GERRIT_REFSPEC"
320 choosing-strategy: "gerrit"
323 - fdio-infra-wrappers:
327 - gerrit-trigger-checkstyle:
332 - shell: !include-raw-escape:
333 - ../scripts/setup_executor_env.sh
334 - shell: !include-raw-escape:
335 - include-raw-hicn-build.sh
340 rerun-unstable-builds: false
345 name: "hicn-merge-{stream}-{os}-{executor-arch}"
347 project-type: freestyle
348 node: "builder-{os}-prod-{executor-arch}"
351 daysToKeep: "{build-days-to-keep}"
353 artifactDaysToKeep: "{build-artifact-days-to-keep}"
354 artifactNumToKeep: "{build-artifact-num-to-keep}"
363 - maven-project-parameter:
366 maven-version: "mvn33-new"
368 stream: "{repository-name}"
369 - repo-name-parameter:
370 repo-name: "{repo-stream-part}.{repo-os-part}"
371 - archive-artifacts-parameter:
372 artifacts: '{archive-artifacts}'
375 - gerrit-trigger-scm:
376 credentials-id: "jenkins-gerrit-credentials"
378 choosing-strategy: "default"
381 - fdio-infra-wrappers:
382 build-timeout: "{build-timeout}"
385 - gerrit-trigger-patch-merged:
390 - config-file-provider:
392 - file-id: ".packagecloud"
393 target: "/root/.packagecloud"
394 - config-file-provider:
396 - file-id: "packagecloud_api"
397 target: "/root/packagecloud_api"
399 maven-version: "mvn33-new"
401 settings: "hicn-settings"
403 global-settings: "global-settings"
404 global-settings-type: cfp
405 - shell: !include-raw-escape:
406 - ../scripts/setup_executor_env.sh
407 - shell: !include-raw-escape:
408 - include-raw-hicn-checkstyle.sh
409 - shell: !include-raw-escape:
410 - include-raw-hicn-build.sh
411 - provide-maven-settings:
412 settings-file: "hicn-settings"
413 global-settings-file: "global-settings"
414 - shell: !include-raw-escape:
415 - ../scripts/packagecloud_push.sh
416 - shell: !include-raw-escape:
417 - ../scripts/maven_push_functions.sh
418 - include-raw-hicn-maven-push.sh
423 rerun-unstable-builds: false
431 mvn-settings: hicn-settings
433 sonarcloud-project-organization: "{sonarcloud_project_organization}"
434 sonarcloud-api-token: "{sonarcloud_api_token}"
435 sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
437 build-node: centos7-docker-2c-2g
442 name: "hicn-extras-verify-{stream}-{os}-{executor-arch}"
444 project-type: freestyle
445 node: "builder-{os}-prod-{executor-arch}"
449 daysToKeep: "{build-days-to-keep}"
451 artifactDaysToKeep: "{build-artifact-days-to-keep}"
452 artifactNumToKeep: "{build-artifact-num-to-keep}"
461 - repo-name-parameter:
462 repo-name: "{repo-stream-part}.{repo-os-part}"
465 - archive-artifacts-parameter:
466 artifacts: '{archive-artifacts}'
469 - gerrit-trigger-scm:
470 credentials-id: "jenkins-gerrit-credentials"
471 refspec: "$GERRIT_REFSPEC"
472 choosing-strategy: "gerrit"
475 - fdio-infra-wrappers:
480 server-name: "Primary"
482 - comment-added-contains-event:
483 comment-contains-value: "verify-extras"
485 - project-compare-type: "ANT"
486 project-pattern: "{project}"
488 - branch-compare-type: "ANT"
489 branch-pattern: "**/{branch}"
492 - shell: !include-raw-escape:
493 - ../scripts/setup_executor_env.sh
494 - shell: !include-raw-escape:
495 - include-raw-hicn-extras-build.sh
500 rerun-unstable-builds: false
505 name: "hicn-extras-build-{stream}-{os}-{executor-arch}"
507 project-type: freestyle
508 node: "builder-{os}-prod-{executor-arch}"
511 daysToKeep: "{build-days-to-keep}"
513 artifactDaysToKeep: "{build-artifact-days-to-keep}"
514 artifactNumToKeep: "{build-artifact-num-to-keep}"
523 - maven-project-parameter:
526 maven-version: "mvn33-new"
529 - repo-name-parameter:
530 repo-name: "{repo-stream-part}.{repo-os-part}"
531 - archive-artifacts-parameter:
532 artifacts: '{archive-artifacts}'
535 - gerrit-trigger-scm:
536 credentials-id: "jenkins-gerrit-credentials"
538 choosing-strategy: "default"
541 - fdio-infra-wrappers:
542 build-timeout: "{build-timeout}"
546 server-name: "Primary"
548 - comment-added-contains-event:
549 comment-contains-value: "build-extras"
551 - project-compare-type: "ANT"
552 project-pattern: "{project}"
554 - branch-compare-type: "ANT"
555 branch-pattern: "**/{branch}"
558 - config-file-provider:
560 - file-id: ".packagecloud"
561 target: "/root/.packagecloud"
562 - config-file-provider:
564 - file-id: "packagecloud_api"
565 target: "/root/packagecloud_api"
567 maven-version: "mvn33-new"
569 settings: "hicn-settings"
571 global-settings: "global-settings"
572 global-settings-type: cfp
573 - shell: !include-raw-escape:
574 - ../scripts/setup_executor_env.sh
575 - shell: !include-raw-escape:
576 - include-raw-hicn-extras-build.sh
577 - provide-maven-settings:
578 settings-file: "hicn-settings"
579 global-settings-file: "global-settings"
580 - shell: !include-raw-escape:
581 - ../scripts/packagecloud_push.sh
582 - shell: !include-raw-escape:
583 - ../scripts/maven_push_functions.sh
584 - include-raw-hicn-maven-push.sh
589 rerun-unstable-builds: false
597 - gerrit-info-yaml-verify
598 build-node: centos7-builder-2c-2g