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: 'mvn33-new'
162 rerun-unstable-builds: true
167 name: 'hicn-verify-{stream}-{os}'
169 project-type: freestyle
177 only-if-success: true
178 default-excludes: false
181 daysToKeep: '{build-days-to-keep}'
183 artifactDaysToKeep: '{build-artifact-days-to-keep}'
184 artifactNumToKeep: '{build-artifact-num-to-keep}'
193 - repo-name-parameter:
194 repo-name: '{repo-stream-part}.{repo-os-part}'
198 name: ARCHIVE_ARTIFACTS
199 default: '{archive-artifacts}'
200 description: Artifacts to archive to the logs server.
203 - gerrit-trigger-scm:
204 credentials-id: 'jenkins-gerrit-credentials'
205 refspec: '$GERRIT_REFSPEC'
206 choosing-strategy: 'gerrit'
209 - fdio-infra-wrappers:
213 - gerrit-trigger-checkstyle:
220 - include-raw-hicn-build.sh
223 - fdio-infra-shiplogs:
224 maven-version: 'mvn33-new'
227 name: 'hicn-arm-verify-{stream}-{os}'
229 project-type: freestyle
236 only-if-success: true
237 default-excludes: false
240 daysToKeep: '{build-days-to-keep}'
242 artifactDaysToKeep: '{build-artifact-days-to-keep}'
243 artifactNumToKeep: '{build-artifact-num-to-keep}'
252 - repo-name-parameter:
253 repo-name: '{repo-stream-part}.{repo-os-part}'
257 name: ARCHIVE_ARTIFACTS
258 default: '{archive-artifacts}'
259 description: Artifacts to archive to the logs server.
262 - gerrit-trigger-scm:
263 credentials-id: 'jenkins-gerrit-credentials'
264 refspec: '$GERRIT_REFSPEC'
265 choosing-strategy: 'gerrit'
268 - fdio-infra-wrappers:
272 - gerrit-trigger-checkstyle:
279 - include-raw-hicn-build.sh
282 - fdio-infra-shiplogs:
283 maven-version: 'mvn33-new'
286 name: 'hicn-merge-{stream}-{os}'
288 project-type: freestyle
295 only-if-success: true
296 default-excludes: false
299 daysToKeep: '{build-days-to-keep}'
301 artifactDaysToKeep: '{build-artifact-days-to-keep}'
302 artifactNumToKeep: '{build-artifact-num-to-keep}'
311 - maven-project-parameter:
314 maven-version: 'mvn33-new'
317 - repo-name-parameter:
318 repo-name: '{repo-stream-part}.{repo-os-part}'
320 name: ARCHIVE_ARTIFACTS
321 default: '{archive-artifacts}'
322 description: Artifacts to archive to the logs server.
325 - gerrit-trigger-scm:
326 credentials-id: 'jenkins-gerrit-credentials'
328 choosing-strategy: 'default'
331 - fdio-infra-wrappers:
332 build-timeout: '{build-timeout}'
335 - gerrit-trigger-patch-merged:
340 - config-file-provider:
342 - file-id: '.packagecloud'
344 - config-file-provider:
346 - file-id: 'packagecloud_api'
349 maven-version: 'mvn33-new'
351 settings: 'hicn-settings'
353 global-settings: 'global-settings'
354 global-settings-type: cfp
357 - include-raw-hicn-checkstyle.sh
360 - include-raw-hicn-build.sh
361 - provide-maven-settings:
362 settings-file: 'hicn-settings'
363 global-settings-file: 'global-settings'
366 - ../scripts/packagecloud_push.sh
369 - ../scripts/maven_push_functions.sh
370 - include-raw-hicn-maven-push.sh
373 - fdio-infra-shiplogs:
374 maven-version: 'mvn33-new'
376 rerun-unstable-builds: false
381 name: 'hicn-arm-merge-{stream}-{os}'
383 project-type: freestyle
389 only-if-success: true
390 default-excludes: false
393 daysToKeep: '{build-days-to-keep}'
395 artifactDaysToKeep: '{build-artifact-days-to-keep}'
396 artifactNumToKeep: '{build-artifact-num-to-keep}'
405 - maven-project-parameter:
408 maven-version: 'mvn33-new'
411 - repo-name-parameter:
412 repo-name: '{repo-stream-part}.{repo-os-part}'
414 name: ARCHIVE_ARTIFACTS
415 default: '{archive-artifacts}'
416 description: Artifacts to archive to the logs server.
419 - gerrit-trigger-scm:
420 credentials-id: 'jenkins-gerrit-credentials'
422 choosing-strategy: 'default'
425 - fdio-infra-wrappers:
426 build-timeout: '{build-timeout}'
429 - gerrit-trigger-patch-merged:
434 - config-file-provider:
436 - file-id: '.packagecloud'
438 - config-file-provider:
440 - file-id: 'packagecloud_api'
443 maven-version: 'mvn33-new'
445 settings: 'hicn-settings'
447 global-settings: 'global-settings'
448 global-settings-type: cfp
451 - include-raw-hicn-checkstyle.sh
454 - include-raw-hicn-build.sh
455 - provide-maven-settings:
456 settings-file: 'hicn-settings'
457 global-settings-file: 'global-settings'
460 - ../scripts/packagecloud_push.sh
463 - ../scripts/maven_push_functions.sh
464 - include-raw-hicn-maven-push.sh
467 - fdio-infra-shiplogs:
468 maven-version: 'mvn33-new'
470 rerun-unstable-builds: false
478 mvn-settings: hicn-settings
479 mvn-version: 'mvn33-new'
481 build-node: ubuntu1604-basebuild-4c-4g
486 name: 'hicn-sysrepo-plugin-verify-{stream}'
488 project-type: freestyle
496 only-if-success: true
497 default-excludes: false
500 daysToKeep: '{build-days-to-keep}'
502 artifactDaysToKeep: '{build-artifact-days-to-keep}'
503 artifactNumToKeep: '{build-artifact-num-to-keep}'
512 - repo-name-parameter:
513 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
517 name: ARCHIVE_ARTIFACTS
518 default: '{archive-artifacts}'
519 description: Artifacts to archive to the logs server.
522 - gerrit-trigger-scm:
523 credentials-id: 'jenkins-gerrit-credentials'
524 refspec: '$GERRIT_REFSPEC'
525 choosing-strategy: 'gerrit'
528 - fdio-infra-wrappers:
533 server-name: 'Primary'
535 - comment-added-contains-event:
536 comment-contains-value: 'verify_sysrepo'
538 - project-compare-type: 'ANT'
539 project-pattern: '{project}'
541 - branch-compare-type: 'ANT'
542 branch-pattern: '**/{branch}'
547 - include-raw-hicn-sysrepo-build.sh
550 - fdio-infra-shiplogs:
551 maven-version: 'mvn33-new'
554 name: 'hicn-sysrepo-plugin-merge-{stream}'
556 project-type: freestyle
563 only-if-success: true
564 default-excludes: false
567 daysToKeep: '{build-days-to-keep}'
569 artifactDaysToKeep: '{build-artifact-days-to-keep}'
570 artifactNumToKeep: '{build-artifact-num-to-keep}'
579 - maven-project-parameter:
582 maven-version: 'mvn33-new'
585 - repo-name-parameter:
586 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
588 name: ARCHIVE_ARTIFACTS
589 default: '{archive-artifacts}'
590 description: Artifacts to archive to the logs server.
593 - gerrit-trigger-scm:
594 credentials-id: 'jenkins-gerrit-credentials'
596 choosing-strategy: 'default'
599 - fdio-infra-wrappers:
600 build-timeout: '{build-timeout}'
604 server-name: 'Primary'
606 - comment-added-contains-event:
607 comment-contains-value: 'merge_sysrepo'
609 - project-compare-type: 'ANT'
610 project-pattern: '{project}'
612 - branch-compare-type: 'ANT'
613 branch-pattern: '**/{branch}'
616 - config-file-provider:
618 - file-id: '.packagecloud'
620 - config-file-provider:
622 - file-id: 'packagecloud_api'
625 maven-version: 'mvn33-new'
627 settings: 'hicn-settings'
629 global-settings: 'global-settings'
630 global-settings-type: cfp
633 - include-raw-hicn-checkstyle.sh
636 - include-raw-hicn-sysrepo-build.sh
637 - provide-maven-settings:
638 settings-file: 'hicn-settings'
639 global-settings-file: 'global-settings'
642 - ../scripts/packagecloud_push.sh
645 - ../scripts/maven_push_functions.sh
646 - include-raw-hicn-maven-push.sh
649 - fdio-infra-shiplogs:
650 maven-version: 'mvn33-new'
652 rerun-unstable-builds: false
660 - gerrit-info-yaml-verify
661 build-node: centos7-builder-4c-4g