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
159 - fdio-infra-shiplogs:
160 maven-version: 'mvn36'
162 rerun-unstable-builds: true
167 name: 'hicn-verify-{stream}-{os}'
169 project-type: freestyle
174 daysToKeep: '{build-days-to-keep}'
176 artifactDaysToKeep: '{build-artifact-days-to-keep}'
177 artifactNumToKeep: '{build-artifact-num-to-keep}'
186 - repo-name-parameter:
187 repo-name: '{repo-stream-part}.{repo-os-part}'
191 name: ARCHIVE_ARTIFACTS
192 default: '{archive-artifacts}'
193 description: Artifacts to archive to the logs server.
196 - gerrit-trigger-scm:
197 credentials-id: 'jenkins-gerrit-credentials'
198 refspec: '$GERRIT_REFSPEC'
199 choosing-strategy: 'gerrit'
202 - fdio-infra-wrappers:
206 - gerrit-trigger-checkstyle:
213 - include-raw-hicn-build.sh
216 - fdio-infra-shiplogs:
217 maven-version: 'mvn36'
219 rerun-unstable-builds: false
224 name: 'hicn-arm-verify-{stream}-{os}'
226 project-type: freestyle
231 daysToKeep: '{build-days-to-keep}'
233 artifactDaysToKeep: '{build-artifact-days-to-keep}'
234 artifactNumToKeep: '{build-artifact-num-to-keep}'
243 - repo-name-parameter:
244 repo-name: '{repo-stream-part}.{repo-os-part}'
248 name: ARCHIVE_ARTIFACTS
249 default: '{archive-artifacts}'
250 description: Artifacts to archive to the logs server.
253 - gerrit-trigger-scm:
254 credentials-id: 'jenkins-gerrit-credentials'
255 refspec: '$GERRIT_REFSPEC'
256 choosing-strategy: 'gerrit'
259 - fdio-infra-wrappers:
263 - gerrit-trigger-checkstyle:
270 - include-raw-hicn-build.sh
273 - fdio-infra-shiplogs:
274 maven-version: 'mvn36'
276 rerun-unstable-builds: false
281 name: 'hicn-merge-{stream}-{os}'
283 project-type: freestyle
287 daysToKeep: '{build-days-to-keep}'
289 artifactDaysToKeep: '{build-artifact-days-to-keep}'
290 artifactNumToKeep: '{build-artifact-num-to-keep}'
299 - maven-project-parameter:
302 maven-version: 'mvn33-new'
305 - repo-name-parameter:
306 repo-name: '{repo-stream-part}.{repo-os-part}'
308 name: ARCHIVE_ARTIFACTS
309 default: '{archive-artifacts}'
310 description: Artifacts to archive to the logs server.
313 - gerrit-trigger-scm:
314 credentials-id: 'jenkins-gerrit-credentials'
316 choosing-strategy: 'default'
319 - fdio-infra-wrappers:
320 build-timeout: '{build-timeout}'
323 - gerrit-trigger-patch-merged:
328 - config-file-provider:
330 - file-id: '.packagecloud'
332 - config-file-provider:
334 - file-id: 'packagecloud_api'
337 maven-version: 'mvn33-new'
339 settings: 'hicn-settings'
341 global-settings: 'global-settings'
342 global-settings-type: cfp
345 - include-raw-hicn-checkstyle.sh
348 - include-raw-hicn-build.sh
349 - provide-maven-settings:
350 settings-file: 'hicn-settings'
351 global-settings-file: 'global-settings'
354 - ../scripts/packagecloud_push.sh
357 - ../scripts/maven_push_functions.sh
358 - include-raw-hicn-maven-push.sh
361 - fdio-infra-shiplogs:
362 maven-version: 'mvn36'
364 rerun-unstable-builds: false
369 name: 'hicn-arm-merge-{stream}-{os}'
371 project-type: freestyle
375 daysToKeep: '{build-days-to-keep}'
377 artifactDaysToKeep: '{build-artifact-days-to-keep}'
378 artifactNumToKeep: '{build-artifact-num-to-keep}'
387 - maven-project-parameter:
390 maven-version: 'mvn33-new'
393 - repo-name-parameter:
394 repo-name: '{repo-stream-part}.{repo-os-part}'
396 name: ARCHIVE_ARTIFACTS
397 default: '{archive-artifacts}'
398 description: Artifacts to archive to the logs server.
401 - gerrit-trigger-scm:
402 credentials-id: 'jenkins-gerrit-credentials'
404 choosing-strategy: 'default'
407 - fdio-infra-wrappers:
408 build-timeout: '{build-timeout}'
411 - gerrit-trigger-patch-merged:
416 - config-file-provider:
418 - file-id: '.packagecloud'
420 - config-file-provider:
422 - file-id: 'packagecloud_api'
425 maven-version: 'mvn33-new'
427 settings: 'hicn-settings'
429 global-settings: 'global-settings'
430 global-settings-type: cfp
433 - include-raw-hicn-checkstyle.sh
436 - include-raw-hicn-build.sh
437 - provide-maven-settings:
438 settings-file: 'hicn-settings'
439 global-settings-file: 'global-settings'
442 - ../scripts/packagecloud_push.sh
445 - ../scripts/maven_push_functions.sh
446 - include-raw-hicn-maven-push.sh
449 - fdio-infra-shiplogs:
450 maven-version: 'mvn36'
452 rerun-unstable-builds: false
460 mvn-settings: hicn-settings
461 mvn-version: 'mvn33-new'
463 build-node: ubuntu1604-basebuild-4c-4g
468 name: 'hicn-sysrepo-plugin-verify-{stream}'
470 project-type: freestyle
475 daysToKeep: '{build-days-to-keep}'
477 artifactDaysToKeep: '{build-artifact-days-to-keep}'
478 artifactNumToKeep: '{build-artifact-num-to-keep}'
487 - repo-name-parameter:
488 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
492 name: ARCHIVE_ARTIFACTS
493 default: '{archive-artifacts}'
494 description: Artifacts to archive to the logs server.
497 - gerrit-trigger-scm:
498 credentials-id: 'jenkins-gerrit-credentials'
499 refspec: '$GERRIT_REFSPEC'
500 choosing-strategy: 'gerrit'
503 - fdio-infra-wrappers:
508 server-name: 'Primary'
510 - comment-added-contains-event:
511 comment-contains-value: 'verify_sysrepo'
513 - project-compare-type: 'ANT'
514 project-pattern: '{project}'
516 - branch-compare-type: 'ANT'
517 branch-pattern: '**/{branch}'
522 - include-raw-hicn-sysrepo-build.sh
525 - fdio-infra-shiplogs:
526 maven-version: 'mvn36'
528 rerun-unstable-builds: false
533 name: 'hicn-sysrepo-plugin-merge-{stream}'
535 project-type: freestyle
539 daysToKeep: '{build-days-to-keep}'
541 artifactDaysToKeep: '{build-artifact-days-to-keep}'
542 artifactNumToKeep: '{build-artifact-num-to-keep}'
551 - maven-project-parameter:
554 maven-version: 'mvn33-new'
557 - repo-name-parameter:
558 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
560 name: ARCHIVE_ARTIFACTS
561 default: '{archive-artifacts}'
562 description: Artifacts to archive to the logs server.
565 - gerrit-trigger-scm:
566 credentials-id: 'jenkins-gerrit-credentials'
568 choosing-strategy: 'default'
571 - fdio-infra-wrappers:
572 build-timeout: '{build-timeout}'
576 server-name: 'Primary'
578 - comment-added-contains-event:
579 comment-contains-value: 'merge_sysrepo'
581 - project-compare-type: 'ANT'
582 project-pattern: '{project}'
584 - branch-compare-type: 'ANT'
585 branch-pattern: '**/{branch}'
588 - config-file-provider:
590 - file-id: '.packagecloud'
592 - config-file-provider:
594 - file-id: 'packagecloud_api'
597 maven-version: 'mvn33-new'
599 settings: 'hicn-settings'
601 global-settings: 'global-settings'
602 global-settings-type: cfp
605 - include-raw-hicn-checkstyle.sh
608 - include-raw-hicn-sysrepo-build.sh
609 - provide-maven-settings:
610 settings-file: 'hicn-settings'
611 global-settings-file: 'global-settings'
614 - ../scripts/packagecloud_push.sh
617 - ../scripts/maven_push_functions.sh
618 - include-raw-hicn-maven-push.sh
621 - fdio-infra-shiplogs:
622 maven-version: 'mvn36'
624 rerun-unstable-builds: false
632 - gerrit-info-yaml-verify
633 build-node: centos7-builder-4c-4g