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
173 daysToKeep: '{build-days-to-keep}'
175 artifactDaysToKeep: '{build-artifact-days-to-keep}'
176 artifactNumToKeep: '{build-artifact-num-to-keep}'
185 - repo-name-parameter:
186 repo-name: '{repo-stream-part}.{repo-os-part}'
190 name: ARCHIVE_ARTIFACTS
191 default: '{archive-artifacts}'
192 description: Artifacts to archive to the logs server.
195 - gerrit-trigger-scm:
196 credentials-id: 'jenkins-gerrit-credentials'
197 refspec: '$GERRIT_REFSPEC'
198 choosing-strategy: 'gerrit'
201 - fdio-infra-wrappers:
205 - gerrit-trigger-checkstyle:
212 - include-raw-hicn-build.sh
218 name: 'hicn-arm-verify-{stream}-{os}'
220 project-type: freestyle
225 daysToKeep: '{build-days-to-keep}'
227 artifactDaysToKeep: '{build-artifact-days-to-keep}'
228 artifactNumToKeep: '{build-artifact-num-to-keep}'
237 - repo-name-parameter:
238 repo-name: '{repo-stream-part}.{repo-os-part}'
242 name: ARCHIVE_ARTIFACTS
243 default: '{archive-artifacts}'
244 description: Artifacts to archive to the logs server.
247 - gerrit-trigger-scm:
248 credentials-id: 'jenkins-gerrit-credentials'
249 refspec: '$GERRIT_REFSPEC'
250 choosing-strategy: 'gerrit'
253 - fdio-infra-wrappers:
257 - gerrit-trigger-checkstyle:
264 - include-raw-hicn-build.sh
267 - fdio-infra-shiplogs:
268 maven-version: 'mvn33-new'
271 name: 'hicn-merge-{stream}-{os}'
273 project-type: freestyle
277 daysToKeep: '{build-days-to-keep}'
279 artifactDaysToKeep: '{build-artifact-days-to-keep}'
280 artifactNumToKeep: '{build-artifact-num-to-keep}'
289 - maven-project-parameter:
292 maven-version: 'mvn33-new'
295 - repo-name-parameter:
296 repo-name: '{repo-stream-part}.{repo-os-part}'
298 name: ARCHIVE_ARTIFACTS
299 default: '{archive-artifacts}'
300 description: Artifacts to archive to the logs server.
303 - gerrit-trigger-scm:
304 credentials-id: 'jenkins-gerrit-credentials'
306 choosing-strategy: 'default'
309 - fdio-infra-wrappers:
310 build-timeout: '{build-timeout}'
313 - gerrit-trigger-patch-merged:
318 - config-file-provider:
320 - file-id: '.packagecloud'
322 - config-file-provider:
324 - file-id: 'packagecloud_api'
327 maven-version: 'mvn33-new'
329 settings: 'hicn-settings'
331 global-settings: 'global-settings'
332 global-settings-type: cfp
335 - include-raw-hicn-checkstyle.sh
338 - include-raw-hicn-build.sh
339 - provide-maven-settings:
340 settings-file: 'hicn-settings'
341 global-settings-file: 'global-settings'
344 - ../scripts/packagecloud_push.sh
347 - ../scripts/maven_push_functions.sh
348 - include-raw-hicn-maven-push.sh
353 rerun-unstable-builds: false
358 name: 'hicn-arm-merge-{stream}-{os}'
360 project-type: freestyle
364 daysToKeep: '{build-days-to-keep}'
366 artifactDaysToKeep: '{build-artifact-days-to-keep}'
367 artifactNumToKeep: '{build-artifact-num-to-keep}'
376 - maven-project-parameter:
379 maven-version: 'mvn33-new'
382 - repo-name-parameter:
383 repo-name: '{repo-stream-part}.{repo-os-part}'
385 name: ARCHIVE_ARTIFACTS
386 default: '{archive-artifacts}'
387 description: Artifacts to archive to the logs server.
390 - gerrit-trigger-scm:
391 credentials-id: 'jenkins-gerrit-credentials'
393 choosing-strategy: 'default'
396 - fdio-infra-wrappers:
397 build-timeout: '{build-timeout}'
400 - gerrit-trigger-patch-merged:
405 - config-file-provider:
407 - file-id: '.packagecloud'
409 - config-file-provider:
411 - file-id: 'packagecloud_api'
414 maven-version: 'mvn33-new'
416 settings: 'hicn-settings'
418 global-settings: 'global-settings'
419 global-settings-type: cfp
422 - include-raw-hicn-checkstyle.sh
425 - include-raw-hicn-build.sh
426 - provide-maven-settings:
427 settings-file: 'hicn-settings'
428 global-settings-file: 'global-settings'
431 - ../scripts/packagecloud_push.sh
434 - ../scripts/maven_push_functions.sh
435 - include-raw-hicn-maven-push.sh
438 - fdio-infra-shiplogs:
439 maven-version: 'mvn33-new'
441 rerun-unstable-builds: false
449 mvn-settings: hicn-settings
450 mvn-version: 'mvn33-new'
452 build-node: ubuntu1604-basebuild-4c-4g
457 name: 'hicn-sysrepo-plugin-verify-{stream}'
459 project-type: freestyle
464 daysToKeep: '{build-days-to-keep}'
466 artifactDaysToKeep: '{build-artifact-days-to-keep}'
467 artifactNumToKeep: '{build-artifact-num-to-keep}'
476 - repo-name-parameter:
477 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
481 name: ARCHIVE_ARTIFACTS
482 default: '{archive-artifacts}'
483 description: Artifacts to archive to the logs server.
486 - gerrit-trigger-scm:
487 credentials-id: 'jenkins-gerrit-credentials'
488 refspec: '$GERRIT_REFSPEC'
489 choosing-strategy: 'gerrit'
492 - fdio-infra-wrappers:
497 server-name: 'Primary'
499 - comment-added-contains-event:
500 comment-contains-value: 'verify_sysrepo'
502 - project-compare-type: 'ANT'
503 project-pattern: '{project}'
505 - branch-compare-type: 'ANT'
506 branch-pattern: '**/{branch}'
511 - include-raw-hicn-sysrepo-build.sh
517 name: 'hicn-sysrepo-plugin-merge-{stream}'
519 project-type: freestyle
523 daysToKeep: '{build-days-to-keep}'
525 artifactDaysToKeep: '{build-artifact-days-to-keep}'
526 artifactNumToKeep: '{build-artifact-num-to-keep}'
535 - maven-project-parameter:
538 maven-version: 'mvn33-new'
541 - repo-name-parameter:
542 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
544 name: ARCHIVE_ARTIFACTS
545 default: '{archive-artifacts}'
546 description: Artifacts to archive to the logs server.
549 - gerrit-trigger-scm:
550 credentials-id: 'jenkins-gerrit-credentials'
552 choosing-strategy: 'default'
555 - fdio-infra-wrappers:
556 build-timeout: '{build-timeout}'
560 server-name: 'Primary'
562 - comment-added-contains-event:
563 comment-contains-value: 'merge_sysrepo'
565 - project-compare-type: 'ANT'
566 project-pattern: '{project}'
568 - branch-compare-type: 'ANT'
569 branch-pattern: '**/{branch}'
572 - config-file-provider:
574 - file-id: '.packagecloud'
576 - config-file-provider:
578 - file-id: 'packagecloud_api'
581 maven-version: 'mvn33-new'
583 settings: 'hicn-settings'
585 global-settings: 'global-settings'
586 global-settings-type: cfp
589 - include-raw-hicn-checkstyle.sh
592 - include-raw-hicn-sysrepo-build.sh
593 - provide-maven-settings:
594 settings-file: 'hicn-settings'
595 global-settings-file: 'global-settings'
598 - ../scripts/packagecloud_push.sh
601 - ../scripts/maven_push_functions.sh
602 - include-raw-hicn-maven-push.sh
607 rerun-unstable-builds: false
615 - gerrit-info-yaml-verify
616 build-node: centos7-builder-4c-4g