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
139 - fdio-infra-shiplogs:
140 maven-version: 'mvn33-new'
142 rerun-unstable-builds: true
147 name: 'hicn-verify-{stream}-{os}'
149 project-type: freestyle
157 only-if-success: true
158 default-excludes: false
161 daysToKeep: '{build-days-to-keep}'
163 artifactDaysToKeep: '{build-artifact-days-to-keep}'
164 artifactNumToKeep: '{build-artifact-num-to-keep}'
173 - repo-name-parameter:
174 repo-name: '{repo-stream-part}.{repo-os-part}'
178 name: ARCHIVE_ARTIFACTS
179 default: '{archive-artifacts}'
180 description: Artifacts to archive to the logs server.
183 - gerrit-trigger-scm:
184 credentials-id: 'jenkins-gerrit-credentials'
185 refspec: '$GERRIT_REFSPEC'
186 choosing-strategy: 'gerrit'
189 - fdio-infra-wrappers:
193 - gerrit-trigger-checkstyle:
200 - include-raw-hicn-build.sh
203 - fdio-infra-shiplogs:
204 maven-version: 'mvn33-new'
207 name: 'hicn-merge-{stream}-{os}'
209 project-type: freestyle
216 only-if-success: true
217 default-excludes: false
220 daysToKeep: '{build-days-to-keep}'
222 artifactDaysToKeep: '{build-artifact-days-to-keep}'
223 artifactNumToKeep: '{build-artifact-num-to-keep}'
232 - maven-project-parameter:
235 maven-version: 'mvn33-new'
238 - repo-name-parameter:
239 repo-name: '{repo-stream-part}.{repo-os-part}'
241 name: ARCHIVE_ARTIFACTS
242 default: '{archive-artifacts}'
243 description: Artifacts to archive to the logs server.
246 - gerrit-trigger-scm:
247 credentials-id: 'jenkins-gerrit-credentials'
249 choosing-strategy: 'default'
252 - fdio-infra-wrappers:
253 build-timeout: '{build-timeout}'
256 - gerrit-trigger-patch-merged:
261 - config-file-provider:
263 - file-id: '.packagecloud'
265 - config-file-provider:
267 - file-id: 'packagecloud_api'
270 maven-version: 'mvn33-new'
272 settings: 'hicn-settings'
274 global-settings: 'global-settings'
275 global-settings-type: cfp
278 - include-raw-hicn-checkstyle.sh
281 - include-raw-hicn-build.sh
282 - provide-maven-settings:
283 settings-file: 'hicn-settings'
284 global-settings-file: 'global-settings'
287 - ../scripts/packagecloud_push.sh
290 - ../scripts/maven_push_functions.sh
291 - include-raw-hicn-maven-push.sh
294 - fdio-infra-shiplogs:
295 maven-version: 'mvn33-new'
297 rerun-unstable-builds: false
305 mvn-settings: hicn-settings
306 mvn-version: 'mvn33-new'
308 build-node: ubuntu1604-basebuild-4c-4g
313 name: 'hicn-sysrepo-plugin-verify-{stream}'
315 project-type: freestyle
323 only-if-success: true
324 default-excludes: false
327 daysToKeep: '{build-days-to-keep}'
329 artifactDaysToKeep: '{build-artifact-days-to-keep}'
330 artifactNumToKeep: '{build-artifact-num-to-keep}'
339 - repo-name-parameter:
340 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
344 name: ARCHIVE_ARTIFACTS
345 default: '{archive-artifacts}'
346 description: Artifacts to archive to the logs server.
349 - gerrit-trigger-scm:
350 credentials-id: 'jenkins-gerrit-credentials'
351 refspec: '$GERRIT_REFSPEC'
352 choosing-strategy: 'gerrit'
355 - fdio-infra-wrappers:
360 server-name: 'Primary'
362 - comment-added-contains-event:
363 comment-contains-value: 'verify_sysrepo'
365 - project-compare-type: 'ANT'
366 project-pattern: '{project}'
368 - branch-compare-type: 'ANT'
369 branch-pattern: '**/{branch}'
374 - include-raw-hicn-sysrepo-build.sh
377 - fdio-infra-shiplogs:
378 maven-version: 'mvn33-new'
381 name: 'hicn-sysrepo-plugin-merge-{stream}'
383 project-type: freestyle
390 only-if-success: true
391 default-excludes: false
394 daysToKeep: '{build-days-to-keep}'
396 artifactDaysToKeep: '{build-artifact-days-to-keep}'
397 artifactNumToKeep: '{build-artifact-num-to-keep}'
406 - maven-project-parameter:
409 maven-version: 'mvn33-new'
412 - repo-name-parameter:
413 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
415 name: ARCHIVE_ARTIFACTS
416 default: '{archive-artifacts}'
417 description: Artifacts to archive to the logs server.
420 - gerrit-trigger-scm:
421 credentials-id: 'jenkins-gerrit-credentials'
423 choosing-strategy: 'default'
426 - fdio-infra-wrappers:
427 build-timeout: '{build-timeout}'
431 server-name: 'Primary'
433 - comment-added-contains-event:
434 comment-contains-value: 'merge_sysrepo'
436 - project-compare-type: 'ANT'
437 project-pattern: '{project}'
439 - branch-compare-type: 'ANT'
440 branch-pattern: '**/{branch}'
443 - config-file-provider:
445 - file-id: '.packagecloud'
447 - config-file-provider:
449 - file-id: 'packagecloud_api'
452 maven-version: 'mvn33-new'
454 settings: 'hicn-settings'
456 global-settings: 'global-settings'
457 global-settings-type: cfp
460 - include-raw-hicn-checkstyle.sh
463 - include-raw-hicn-sysrepo-build.sh
464 - provide-maven-settings:
465 settings-file: 'hicn-settings'
466 global-settings-file: 'global-settings'
469 - ../scripts/packagecloud_push.sh
472 - ../scripts/maven_push_functions.sh
473 - include-raw-hicn-maven-push.sh
476 - fdio-infra-shiplogs:
477 maven-version: 'mvn33-new'
479 rerun-unstable-builds: false
487 - gerrit-info-yaml-verify
488 build-node: centos7-builder-4c-4g