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-checkstyle-verify-{stream}'
34 repo-stream-part: 'master'
40 - 'hicn-sysrepo-plugin-verify-{stream}'
41 - 'hicn-sysrepo-plugin-merge-{stream}'
46 repo-stream-part: 'master'
56 name: 'hicn-checkstyle-verify-{stream}'
58 project-type: freestyle
61 archive-artifacts: '**/tmp/hicn-failed-unittests/*/* **/core'
64 daysToKeep: '{build-days-to-keep}'
65 numToKeep: '{build-num-to-keep}'
66 artifactDaysToKeep: '{build-artifact-days-to-keep}'
67 artifactNumToKeep: '{build-artifact-num-to-keep}'
76 - repo-name-parameter:
77 repo-name: '{repo-stream-part}.ubuntu.xenial.main'
79 name: ARCHIVE_ARTIFACTS
80 default: '{archive-artifacts}'
81 description: Artifacts to archive to the logs server.
85 credentials-id: 'jenkins-gerrit-credentials'
86 refspec: '$GERRIT_REFSPEC'
87 choosing-strategy: 'gerrit'
90 - fdio-infra-wrappers:
91 build-timeout: '{build-timeout}'
95 server-name: 'Primary'
97 - patchset-created-event:
98 exclude-drafts: 'true'
99 exclude-trivial-rebase: 'false'
100 exclude-no-code-change: 'true'
101 - draft-published-event
102 - comment-added-contains-event:
103 comment-contains-value: 'checkstylecheck'
104 - comment-added-contains-event:
105 comment-contains-value: 'docsonly'
106 - comment-added-contains-event:
107 comment-contains-value: 'recheck'
108 - comment-added-contains-event:
109 comment-contains-value: 'reverify'
111 - project-compare-type: 'ANT'
112 project-pattern: '{project}'
114 - branch-compare-type: 'ANT'
115 branch-pattern: '**/{branch}'
117 - compare-type: REG_EXP
118 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
119 disable-strict-forbidden-file-verification: 'true'
121 gerrit-build-notbuilt-verified-value: 0
122 gerrit-build-successful-verified-value: 1
123 # yamllint disable-line rule:line-length
124 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
125 # yamllint disable-line rule:line-length
126 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
127 successful-message: 'checkstyle_success'
136 !include-raw-escape: include-raw-hicn-checkstyle.sh
141 rerun-unstable-builds: true
146 name: 'hicn-verify-{stream}-{os}'
148 project-type: freestyle
156 only-if-success: true
157 default-excludes: false
160 daysToKeep: '{build-days-to-keep}'
162 artifactDaysToKeep: '{build-artifact-days-to-keep}'
163 artifactNumToKeep: '{build-artifact-num-to-keep}'
172 - repo-name-parameter:
173 repo-name: '{repo-stream-part}.{repo-os-part}'
177 name: ARCHIVE_ARTIFACTS
178 default: '{archive-artifacts}'
179 description: Artifacts to archive to the logs server.
182 - gerrit-trigger-scm:
183 credentials-id: 'jenkins-gerrit-credentials'
184 refspec: '$GERRIT_REFSPEC'
185 choosing-strategy: 'gerrit'
188 - fdio-infra-wrappers:
192 - gerrit-trigger-checkstyle:
199 - include-raw-hicn-build.sh
205 name: 'hicn-merge-{stream}-{os}'
207 project-type: freestyle
214 only-if-success: true
215 default-excludes: false
218 daysToKeep: '{build-days-to-keep}'
220 artifactDaysToKeep: '{build-artifact-days-to-keep}'
221 artifactNumToKeep: '{build-artifact-num-to-keep}'
230 - maven-project-parameter:
233 maven-version: 'mvn33-new'
236 - repo-name-parameter:
237 repo-name: '{repo-stream-part}.{repo-os-part}'
239 name: ARCHIVE_ARTIFACTS
240 default: '{archive-artifacts}'
241 description: Artifacts to archive to the logs server.
244 - gerrit-trigger-scm:
245 credentials-id: 'jenkins-gerrit-credentials'
247 choosing-strategy: 'default'
250 - fdio-infra-wrappers:
251 build-timeout: '{build-timeout}'
254 - gerrit-trigger-patch-merged:
259 - config-file-provider:
261 - file-id: '.packagecloud'
263 - config-file-provider:
265 - file-id: 'packagecloud_api'
268 maven-version: 'mvn33-new'
270 settings: 'hicn-settings'
272 global-settings: 'global-settings'
273 global-settings-type: cfp
276 - include-raw-hicn-checkstyle.sh
279 - include-raw-hicn-build.sh
280 - provide-maven-settings:
281 settings-file: 'hicn-settings'
282 global-settings-file: 'global-settings'
285 - ../scripts/packagecloud_push.sh
288 - ../scripts/maven_push_functions.sh
289 - include-raw-hicn-maven-push.sh
294 rerun-unstable-builds: false
302 mvn-settings: hicn-settings
303 mvn-version: 'mvn33-new'
305 build-node: ubuntu1604-basebuild-4c-4g
310 name: 'hicn-sysrepo-plugin-verify-{stream}'
312 project-type: freestyle
320 only-if-success: true
321 default-excludes: false
324 daysToKeep: '{build-days-to-keep}'
326 artifactDaysToKeep: '{build-artifact-days-to-keep}'
327 artifactNumToKeep: '{build-artifact-num-to-keep}'
336 - repo-name-parameter:
337 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
341 name: ARCHIVE_ARTIFACTS
342 default: '{archive-artifacts}'
343 description: Artifacts to archive to the logs server.
346 - gerrit-trigger-scm:
347 credentials-id: 'jenkins-gerrit-credentials'
348 refspec: '$GERRIT_REFSPEC'
349 choosing-strategy: 'gerrit'
352 - fdio-infra-wrappers:
357 server-name: 'Primary'
359 - comment-added-contains-event:
360 comment-contains-value: 'verify_sysrepo'
362 - project-compare-type: 'ANT'
363 project-pattern: '{project}'
365 - branch-compare-type: 'ANT'
366 branch-pattern: '**/{branch}'
371 - include-raw-hicn-sysrepo-build.sh
377 name: 'hicn-sysrepo-plugin-merge-{stream}'
379 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}.ubuntu.bionic.main'
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}'
427 server-name: 'Primary'
429 - comment-added-contains-event:
430 comment-contains-value: 'merge_sysrepo'
432 - project-compare-type: 'ANT'
433 project-pattern: '{project}'
435 - branch-compare-type: 'ANT'
436 branch-pattern: '**/{branch}'
439 - config-file-provider:
441 - file-id: '.packagecloud'
443 - config-file-provider:
445 - file-id: 'packagecloud_api'
448 maven-version: 'mvn33-new'
450 settings: 'hicn-settings'
452 global-settings: 'global-settings'
453 global-settings-type: cfp
456 - include-raw-hicn-checkstyle.sh
459 - include-raw-hicn-sysrepo-build.sh
460 - provide-maven-settings:
461 settings-file: 'hicn-settings'
462 global-settings-file: 'global-settings'
465 - ../scripts/packagecloud_push.sh
468 - ../scripts/maven_push_functions.sh
469 - include-raw-hicn-maven-push.sh
474 rerun-unstable-builds: false
482 - gerrit-info-yaml-verify
483 build-node: centos7-builder-4c-4g