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: "centos7"
26 executor-arch: "x86_64"
31 repo-stream-part: "stable.2009"
32 repository-name: "hicn"
35 repo-stream-part: "stable.2005"
36 repository-name: "hicn"
41 - "hicn-verify-{stream}-{os}-{executor-arch}"
42 - "hicn-merge-{stream}-{os}-{executor-arch}"
47 repo-os-part: "ubuntu.bionic.main"
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.2009"
61 repository-name: "hicn"
64 repo-stream-part: "stable.2005"
65 repository-name: "hicn"
68 name: hicn-os-in-master-x86_64
70 - "hicn-verify-{stream}-{os}-{executor-arch}"
71 - "hicn-merge-{stream}-{os}-{executor-arch}"
76 repo-os-part: "centos8"
78 executor-arch: "x86_64"
83 repo-stream-part: "master"
84 repository-name: "hicn"
89 - "hicn-verify-{stream}-{os}-{executor-arch}"
90 - "hicn-merge-{stream}-{os}-{executor-arch}"
96 repo-os-part: "ubuntu-arm.bionic.main"
98 executor-arch: "aarch64"
103 repo-stream-part: "master"
104 repository-name: "hicn"
106 branch: "stable/2005"
107 repo-stream-part: "stable.2005"
108 repository-name: "hicn"
111 name: hicn-beta-x86_64
113 - "hicn-verify-{stream}-{os}-{executor-arch}"
118 repo-os-part: "ubuntu.bionic.main"
120 repo-os-part: "ubuntu.focal.main"
122 repo-os-part: "centos8"
124 executor-arch: "x86_64"
128 branch: "hicn-light-ng"
129 repo-stream-part: "hicn-light-ng"
132 name: hicn-beta-aarch64
134 - "hicn-verify-{stream}-{os}-{executor-arch}"
139 repo-os-part: "ubuntu-arm.bionic.main"
141 executor-arch: "aarch64"
145 branch: "hicn-light-ng"
146 repo-stream-part: "hicn-light-ng"
151 - "hicn-checkstyle-verify-{stream}-{os}-{executor-arch}"
156 repo-stream-part: "master"
158 branch: "hicn-light-ng"
159 repo-stream-part: "hicn-light-ng"
162 repo-os-part: "ubuntu.focal.main"
163 executor-arch: "x86_64"
166 name: hicn-extras-x86_64
168 - "hicn-extras-verify-{stream}-{os}-{executor-arch}"
169 - "hicn-extras-build-{stream}-{os}-{executor-arch}"
173 repo-os-part: "ubuntu.bionic.main"
175 repo-os-part: "ubuntu.focal.main"
177 repo-os-part: "centos8"
179 executor-arch: "x86_64"
184 repo-stream-part: "master"
187 name: hicn-extras-aarch64
189 - "hicn-extras-verify-{stream}-{os}-{executor-arch}"
190 - "hicn-extras-build-{stream}-{os}-{executor-arch}"
195 repo-os-part: "ubuntu-arm.bionic.main"
197 executor-arch: "aarch64"
202 repo-stream-part: "master"
211 name: "hicn-checkstyle-verify-{stream}-{os}-{executor-arch}"
213 project-type: freestyle
214 node: "builder-{os}-prod-{executor-arch}"
216 archive-artifacts: "**/tmp/hicn-failed-unittests/*/* **/core"
219 daysToKeep: "{build-days-to-keep}"
220 numToKeep: "{build-num-to-keep}"
221 artifactDaysToKeep: "{build-artifact-days-to-keep}"
222 artifactNumToKeep: "{build-artifact-num-to-keep}"
231 - repo-name-parameter:
232 repo-name: "{repo-stream-part}.ubuntu.bionic.main"
233 - workspace-archive-artifacts-parameter:
234 artifacts: '{archive-artifacts}'
237 - gerrit-trigger-scm:
238 credentials-id: "jenkins-gerrit-credentials"
239 refspec: "$GERRIT_REFSPEC"
240 choosing-strategy: "gerrit"
243 - fdio-infra-wrappers:
244 build-timeout: "{build-timeout}"
248 server-name: "Primary"
250 - patchset-created-event:
251 exclude-drafts: "true"
252 exclude-trivial-rebase: "false"
253 exclude-no-code-change: "true"
254 - draft-published-event
255 - comment-added-contains-event:
256 comment-contains-value: "checkstylecheck"
257 - comment-added-contains-event:
258 comment-contains-value: "docsonly"
259 - comment-added-contains-event:
260 comment-contains-value: "recheck"
261 - comment-added-contains-event:
262 comment-contains-value: "reverify"
264 - project-compare-type: "ANT"
265 project-pattern: "{project}"
267 - branch-compare-type: "ANT"
268 branch-pattern: "**/{branch}"
270 - compare-type: REG_EXP
271 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
272 disable-strict-forbidden-file-verification: "true"
274 gerrit-build-notbuilt-verified-value: 0
275 gerrit-build-successful-verified-value: 1
276 # yamllint disable-line rule:line-length
277 notbuilt-message: "Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes."
278 # yamllint disable-line rule:line-length
279 failed-message: "Checkstyle failed. No further verify jobs will be started."
280 successful-message: "checkstyle_success"
288 - shell: !include-raw-escape:
289 include-raw-hicn-checkstyle.sh
294 rerun-unstable-builds: true
299 name: "hicn-verify-{stream}-{os}-{executor-arch}"
301 project-type: freestyle
302 node: "builder-{os}-prod-{executor-arch}"
306 daysToKeep: "{build-days-to-keep}"
308 artifactDaysToKeep: "{build-artifact-days-to-keep}"
309 artifactNumToKeep: "{build-artifact-num-to-keep}"
318 - repo-name-parameter:
319 repo-name: "{repo-stream-part}.{repo-os-part}"
322 - workspace-archive-artifacts-parameter:
323 artifacts: '{archive-artifacts}'
326 - gerrit-trigger-scm:
327 credentials-id: "jenkins-gerrit-credentials"
328 refspec: "$GERRIT_REFSPEC"
329 choosing-strategy: "gerrit"
332 - fdio-infra-wrappers:
336 - gerrit-trigger-checkstyle:
341 - shell: !include-raw-escape:
342 - include-raw-hicn-build.sh
347 rerun-unstable-builds: false
352 name: "hicn-merge-{stream}-{os}-{executor-arch}"
354 project-type: freestyle
355 node: "builder-{os}-prod-{executor-arch}"
358 daysToKeep: "{build-days-to-keep}"
360 artifactDaysToKeep: "{build-artifact-days-to-keep}"
361 artifactNumToKeep: "{build-artifact-num-to-keep}"
370 - maven-project-parameter:
373 maven-version: "mvn33-new"
375 stream: "{repository-name}"
376 - repo-name-parameter:
377 repo-name: "{repo-stream-part}.{repo-os-part}"
378 - workspace-archive-artifacts-parameter:
379 artifacts: '{archive-artifacts}'
382 - gerrit-trigger-scm:
383 credentials-id: "jenkins-gerrit-credentials"
385 choosing-strategy: "default"
388 - fdio-infra-wrappers:
389 build-timeout: "{build-timeout}"
392 - gerrit-trigger-patch-merged:
397 - config-file-provider:
399 - file-id: ".packagecloud"
400 target: "/root/.packagecloud"
401 - config-file-provider:
403 - file-id: "packagecloud_api"
404 target: "/root/packagecloud_api"
406 maven-version: "mvn33-new"
408 settings: "hicn-settings"
410 global-settings: "global-settings"
411 global-settings-type: cfp
412 - shell: !include-raw-escape:
413 - include-raw-hicn-checkstyle.sh
414 - shell: !include-raw-escape:
415 - include-raw-hicn-build.sh
416 - provide-maven-settings:
417 settings-file: "hicn-settings"
418 global-settings-file: "global-settings"
419 - shell: !include-raw-escape:
420 - ../scripts/packagecloud_push.sh
421 - shell: !include-raw-escape:
422 - ../scripts/maven_push_functions.sh
423 - include-raw-hicn-maven-push.sh
428 rerun-unstable-builds: false
436 mvn-settings: hicn-settings
438 sonarcloud-project-organization: "{sonarcloud_project_organization}"
439 sonarcloud-api-token: "{sonarcloud_api_token}"
440 sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
442 build-node: centos7-docker-2c-2g
447 name: "hicn-extras-verify-{stream}-{os}-{executor-arch}"
449 project-type: freestyle
450 node: "builder-{os}-prod-{executor-arch}"
454 daysToKeep: "{build-days-to-keep}"
456 artifactDaysToKeep: "{build-artifact-days-to-keep}"
457 artifactNumToKeep: "{build-artifact-num-to-keep}"
466 - repo-name-parameter:
467 repo-name: "{repo-stream-part}.{repo-os-part}"
470 - workspace-archive-artifacts-parameter:
471 artifacts: '{archive-artifacts}'
474 - gerrit-trigger-scm:
475 credentials-id: "jenkins-gerrit-credentials"
476 refspec: "$GERRIT_REFSPEC"
477 choosing-strategy: "gerrit"
480 - fdio-infra-wrappers:
485 server-name: "Primary"
487 - comment-added-contains-event:
488 comment-contains-value: "verify-extras"
490 - project-compare-type: "ANT"
491 project-pattern: "{project}"
493 - branch-compare-type: "ANT"
494 branch-pattern: "**/{branch}"
497 - shell: !include-raw-escape:
498 - include-raw-hicn-extras-build.sh
503 rerun-unstable-builds: false
508 name: "hicn-extras-build-{stream}-{os}-{executor-arch}"
510 project-type: freestyle
511 node: "builder-{os}-prod-{executor-arch}"
514 daysToKeep: "{build-days-to-keep}"
516 artifactDaysToKeep: "{build-artifact-days-to-keep}"
517 artifactNumToKeep: "{build-artifact-num-to-keep}"
526 - maven-project-parameter:
529 maven-version: "mvn33-new"
532 - repo-name-parameter:
533 repo-name: "{repo-stream-part}.{repo-os-part}"
534 - workspace-archive-artifacts-parameter:
535 artifacts: '{archive-artifacts}'
538 - gerrit-trigger-scm:
539 credentials-id: "jenkins-gerrit-credentials"
541 choosing-strategy: "default"
544 - fdio-infra-wrappers:
545 build-timeout: "{build-timeout}"
549 server-name: "Primary"
551 - comment-added-contains-event:
552 comment-contains-value: "build-extras"
554 - project-compare-type: "ANT"
555 project-pattern: "{project}"
557 - branch-compare-type: "ANT"
558 branch-pattern: "**/{branch}"
561 - config-file-provider:
563 - file-id: ".packagecloud"
564 target: "/root/.packagecloud"
565 - config-file-provider:
567 - file-id: "packagecloud_api"
568 target: "/root/packagecloud_api"
570 maven-version: "mvn33-new"
572 settings: "hicn-settings"
574 global-settings: "global-settings"
575 global-settings-type: cfp
576 - shell: !include-raw-escape:
577 - include-raw-hicn-extras-build.sh
578 - provide-maven-settings:
579 settings-file: "hicn-settings"
580 global-settings-file: "global-settings"
581 - shell: !include-raw-escape:
582 - ../scripts/packagecloud_push.sh
583 - shell: !include-raw-escape:
584 - ../scripts/maven_push_functions.sh
585 - include-raw-hicn-maven-push.sh
590 rerun-unstable-builds: false
598 - gerrit-info-yaml-verify
599 build-node: centos7-builder-2c-2g