5 - 'hicn-verify-{stream}-{os}'
6 - 'hicn-merge-{stream}-{os}'
11 repo-os-part: 'ubuntu.bionic.main'
13 repo-os-part: 'ubuntu.xenial.main'
15 repo-os-part: 'centos7'
20 repo-stream-part: 'master'
29 - 'hicn-arm-verify-{stream}-{os}'
30 - 'hicn-arm-merge-{stream}-{os}'
35 repo-os-part: 'ubuntu-arm.bionic.main'
40 repo-stream-part: 'master'
49 - 'hicn-checkstyle-verify-{stream}'
54 repo-stream-part: 'master'
60 - 'hicn-sysrepo-plugin-verify-{stream}'
61 - 'hicn-sysrepo-plugin-merge-{stream}'
66 repo-stream-part: 'master'
76 name: 'hicn-checkstyle-verify-{stream}'
78 project-type: freestyle
81 archive-artifacts: '**/tmp/hicn-failed-unittests/*/* **/core'
84 daysToKeep: '{build-days-to-keep}'
85 numToKeep: '{build-num-to-keep}'
86 artifactDaysToKeep: '{build-artifact-days-to-keep}'
87 artifactNumToKeep: '{build-artifact-num-to-keep}'
96 - repo-name-parameter:
97 repo-name: '{repo-stream-part}.ubuntu.xenial.main'
99 name: ARCHIVE_ARTIFACTS
100 default: '{archive-artifacts}'
101 description: Artifacts to archive to the logs server.
104 - gerrit-trigger-scm:
105 credentials-id: 'jenkins-gerrit-credentials'
106 refspec: '$GERRIT_REFSPEC'
107 choosing-strategy: 'gerrit'
110 - fdio-infra-wrappers:
111 build-timeout: '{build-timeout}'
115 server-name: 'Primary'
117 - patchset-created-event:
118 exclude-drafts: 'true'
119 exclude-trivial-rebase: 'false'
120 exclude-no-code-change: 'true'
121 - draft-published-event
122 - comment-added-contains-event:
123 comment-contains-value: 'checkstylecheck'
124 - comment-added-contains-event:
125 comment-contains-value: 'docsonly'
126 - comment-added-contains-event:
127 comment-contains-value: 'recheck'
128 - comment-added-contains-event:
129 comment-contains-value: 'reverify'
131 - project-compare-type: 'ANT'
132 project-pattern: '{project}'
134 - branch-compare-type: 'ANT'
135 branch-pattern: '**/{branch}'
137 - compare-type: REG_EXP
138 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
139 disable-strict-forbidden-file-verification: 'true'
141 gerrit-build-notbuilt-verified-value: 0
142 gerrit-build-successful-verified-value: 1
143 # yamllint disable-line rule:line-length
144 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
145 # yamllint disable-line rule:line-length
146 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
147 successful-message: 'checkstyle_success'
156 !include-raw-escape: include-raw-hicn-checkstyle.sh
161 rerun-unstable-builds: true
166 name: 'hicn-verify-{stream}-{os}'
168 project-type: freestyle
176 only-if-success: true
177 default-excludes: false
180 daysToKeep: '{build-days-to-keep}'
182 artifactDaysToKeep: '{build-artifact-days-to-keep}'
183 artifactNumToKeep: '{build-artifact-num-to-keep}'
192 - repo-name-parameter:
193 repo-name: '{repo-stream-part}.{repo-os-part}'
197 name: ARCHIVE_ARTIFACTS
198 default: '{archive-artifacts}'
199 description: Artifacts to archive to the logs server.
202 - gerrit-trigger-scm:
203 credentials-id: 'jenkins-gerrit-credentials'
204 refspec: '$GERRIT_REFSPEC'
205 choosing-strategy: 'gerrit'
208 - fdio-infra-wrappers:
212 - gerrit-trigger-checkstyle:
219 - include-raw-hicn-build.sh
225 name: 'hicn-arm-verify-{stream}-{os}'
227 project-type: freestyle
234 only-if-success: true
235 default-excludes: false
238 daysToKeep: '{build-days-to-keep}'
240 artifactDaysToKeep: '{build-artifact-days-to-keep}'
241 artifactNumToKeep: '{build-artifact-num-to-keep}'
250 - repo-name-parameter:
251 repo-name: '{repo-stream-part}.{repo-os-part}'
255 name: ARCHIVE_ARTIFACTS
256 default: '{archive-artifacts}'
257 description: Artifacts to archive to the logs server.
260 - gerrit-trigger-scm:
261 credentials-id: 'jenkins-gerrit-credentials'
262 refspec: '$GERRIT_REFSPEC'
263 choosing-strategy: 'gerrit'
266 - fdio-infra-wrappers:
270 - gerrit-trigger-checkstyle:
277 - include-raw-hicn-build.sh
280 - fdio-infra-shiplogs:
281 maven-version: 'mvn33-new'
284 name: 'hicn-merge-{stream}-{os}'
286 project-type: freestyle
293 only-if-success: true
294 default-excludes: false
297 daysToKeep: '{build-days-to-keep}'
299 artifactDaysToKeep: '{build-artifact-days-to-keep}'
300 artifactNumToKeep: '{build-artifact-num-to-keep}'
309 - maven-project-parameter:
312 maven-version: 'mvn33-new'
315 - repo-name-parameter:
316 repo-name: '{repo-stream-part}.{repo-os-part}'
318 name: ARCHIVE_ARTIFACTS
319 default: '{archive-artifacts}'
320 description: Artifacts to archive to the logs server.
323 - gerrit-trigger-scm:
324 credentials-id: 'jenkins-gerrit-credentials'
326 choosing-strategy: 'default'
329 - fdio-infra-wrappers:
330 build-timeout: '{build-timeout}'
333 - gerrit-trigger-patch-merged:
338 - config-file-provider:
340 - file-id: '.packagecloud'
342 - config-file-provider:
344 - file-id: 'packagecloud_api'
347 maven-version: 'mvn33-new'
349 settings: 'hicn-settings'
351 global-settings: 'global-settings'
352 global-settings-type: cfp
355 - include-raw-hicn-checkstyle.sh
358 - include-raw-hicn-build.sh
359 - provide-maven-settings:
360 settings-file: 'hicn-settings'
361 global-settings-file: 'global-settings'
364 - ../scripts/packagecloud_push.sh
367 - ../scripts/maven_push_functions.sh
368 - include-raw-hicn-maven-push.sh
373 rerun-unstable-builds: false
378 name: 'hicn-arm-merge-{stream}-{os}'
380 project-type: freestyle
386 only-if-success: true
387 default-excludes: false
390 daysToKeep: '{build-days-to-keep}'
392 artifactDaysToKeep: '{build-artifact-days-to-keep}'
393 artifactNumToKeep: '{build-artifact-num-to-keep}'
402 - maven-project-parameter:
405 maven-version: 'mvn33-new'
408 - repo-name-parameter:
409 repo-name: '{repo-stream-part}.{repo-os-part}'
411 name: ARCHIVE_ARTIFACTS
412 default: '{archive-artifacts}'
413 description: Artifacts to archive to the logs server.
416 - gerrit-trigger-scm:
417 credentials-id: 'jenkins-gerrit-credentials'
419 choosing-strategy: 'default'
422 - fdio-infra-wrappers:
423 build-timeout: '{build-timeout}'
426 - gerrit-trigger-patch-merged:
431 - config-file-provider:
433 - file-id: '.packagecloud'
435 - config-file-provider:
437 - file-id: 'packagecloud_api'
440 maven-version: 'mvn33-new'
442 settings: 'hicn-settings'
444 global-settings: 'global-settings'
445 global-settings-type: cfp
448 - include-raw-hicn-checkstyle.sh
451 - include-raw-hicn-build.sh
452 - provide-maven-settings:
453 settings-file: 'hicn-settings'
454 global-settings-file: 'global-settings'
457 - ../scripts/packagecloud_push.sh
460 - ../scripts/maven_push_functions.sh
461 - include-raw-hicn-maven-push.sh
464 - fdio-infra-shiplogs:
465 maven-version: 'mvn33-new'
467 rerun-unstable-builds: false
475 mvn-settings: hicn-settings
476 mvn-version: 'mvn33-new'
478 build-node: ubuntu1604-basebuild-4c-4g
483 name: 'hicn-sysrepo-plugin-verify-{stream}'
485 project-type: freestyle
493 only-if-success: true
494 default-excludes: false
497 daysToKeep: '{build-days-to-keep}'
499 artifactDaysToKeep: '{build-artifact-days-to-keep}'
500 artifactNumToKeep: '{build-artifact-num-to-keep}'
509 - repo-name-parameter:
510 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
514 name: ARCHIVE_ARTIFACTS
515 default: '{archive-artifacts}'
516 description: Artifacts to archive to the logs server.
519 - gerrit-trigger-scm:
520 credentials-id: 'jenkins-gerrit-credentials'
521 refspec: '$GERRIT_REFSPEC'
522 choosing-strategy: 'gerrit'
525 - fdio-infra-wrappers:
530 server-name: 'Primary'
532 - comment-added-contains-event:
533 comment-contains-value: 'verify_sysrepo'
535 - project-compare-type: 'ANT'
536 project-pattern: '{project}'
538 - branch-compare-type: 'ANT'
539 branch-pattern: '**/{branch}'
544 - include-raw-hicn-sysrepo-build.sh
550 name: 'hicn-sysrepo-plugin-merge-{stream}'
552 project-type: freestyle
559 only-if-success: true
560 default-excludes: false
563 daysToKeep: '{build-days-to-keep}'
565 artifactDaysToKeep: '{build-artifact-days-to-keep}'
566 artifactNumToKeep: '{build-artifact-num-to-keep}'
575 - maven-project-parameter:
578 maven-version: 'mvn33-new'
581 - repo-name-parameter:
582 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
584 name: ARCHIVE_ARTIFACTS
585 default: '{archive-artifacts}'
586 description: Artifacts to archive to the logs server.
589 - gerrit-trigger-scm:
590 credentials-id: 'jenkins-gerrit-credentials'
592 choosing-strategy: 'default'
595 - fdio-infra-wrappers:
596 build-timeout: '{build-timeout}'
600 server-name: 'Primary'
602 - comment-added-contains-event:
603 comment-contains-value: 'merge_sysrepo'
605 - project-compare-type: 'ANT'
606 project-pattern: '{project}'
608 - branch-compare-type: 'ANT'
609 branch-pattern: '**/{branch}'
612 - config-file-provider:
614 - file-id: '.packagecloud'
616 - config-file-provider:
618 - file-id: 'packagecloud_api'
621 maven-version: 'mvn33-new'
623 settings: 'hicn-settings'
625 global-settings: 'global-settings'
626 global-settings-type: cfp
629 - include-raw-hicn-checkstyle.sh
632 - include-raw-hicn-sysrepo-build.sh
633 - provide-maven-settings:
634 settings-file: 'hicn-settings'
635 global-settings-file: 'global-settings'
638 - ../scripts/packagecloud_push.sh
641 - ../scripts/maven_push_functions.sh
642 - include-raw-hicn-maven-push.sh
647 rerun-unstable-builds: false
655 - gerrit-info-yaml-verify
656 build-node: centos7-builder-4c-4g