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'
27 name: 'hicn-checkstyle-verify-{stream}'
29 project-type: freestyle
34 daysToKeep: '{build-days-to-keep}'
35 numToKeep: '{build-num-to-keep}'
36 artifactDaysToKeep: '{build-artifact-days-to-keep}'
37 artifactNumToKeep: '{build-artifact-num-to-keep}'
46 - repo-name-parameter:
47 repo-name: '{repo-stream-part}.ubuntu.xenial.main'
51 credentials-id: 'jenkins-gerrit-credentials'
52 refspec: '$GERRIT_REFSPEC'
53 choosing-strategy: 'gerrit'
56 - fdio-infra-wrappers:
57 build-timeout: '{build-timeout}'
61 server-name: 'Primary'
63 - patchset-created-event:
64 exclude-drafts: 'true'
65 exclude-trivial-rebase: 'false'
66 exclude-no-code-change: 'true'
67 - draft-published-event
68 - comment-added-contains-event:
69 comment-contains-value: 'checkstylecheck'
70 - comment-added-contains-event:
71 comment-contains-value: 'docsonly'
72 - comment-added-contains-event:
73 comment-contains-value: 'recheck'
74 - comment-added-contains-event:
75 comment-contains-value: 'reverify'
77 - project-compare-type: 'ANT'
78 project-pattern: '{project}'
80 - branch-compare-type: 'ANT'
81 branch-pattern: '**/{branch}'
83 - compare-type: REG_EXP
84 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
86 - compare-type: REG_EXP
88 - compare-type: REG_EXP
89 pattern: .*extras\/emacs\/.*
90 disable-strict-forbidden-file-verification: 'true'
92 gerrit-build-notbuilt-verified-value: 0
93 gerrit-build-successful-verified-value: 1
94 # yamllint disable-line rule:line-length
95 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
96 # yamllint disable-line rule:line-length
97 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
98 successful-message: 'checkstyle_success'
107 !include-raw-escape: include-raw-hicn-checkstyle.sh
110 - fdio-infra-shiplogs:
111 maven-version: 'mvn33-new'
112 archive-artifacts: '/tmp/hicn-failed-unittests/*/* **/core'
114 rerun-unstable-builds: true
119 name: 'hicn-verify-{stream}-{os}'
121 project-type: freestyle
126 daysToKeep: '{build-days-to-keep}'
128 artifactDaysToKeep: '{build-artifact-days-to-keep}'
129 artifactNumToKeep: '{build-artifact-num-to-keep}'
138 - repo-name-parameter:
139 repo-name: '{repo-stream-part}.{repo-os-part}'
144 - gerrit-trigger-scm:
145 credentials-id: 'jenkins-gerrit-credentials'
146 refspec: '$GERRIT_REFSPEC'
147 choosing-strategy: 'gerrit'
150 - fdio-infra-wrappers:
154 - gerrit-trigger-checkstyle:
161 - include-raw-hicn-build.sh
170 only-if-success: true
171 default-excludes: false
172 - fdio-infra-shiplogs:
173 maven-version: 'mvn33-new'
176 name: 'hicn-merge-{stream}-{os}'
178 project-type: freestyle
182 daysToKeep: '{build-days-to-keep}'
184 artifactDaysToKeep: '{build-artifact-days-to-keep}'
185 artifactNumToKeep: '{build-artifact-num-to-keep}'
194 - maven-project-parameter:
197 maven-version: 'mvn33-new'
200 - repo-name-parameter:
201 repo-name: '{repo-stream-part}.{repo-os-part}'
204 - gerrit-trigger-scm:
205 credentials-id: 'jenkins-gerrit-credentials'
207 choosing-strategy: 'default'
210 - fdio-infra-wrappers:
211 build-timeout: '{build-timeout}'
214 - gerrit-trigger-patch-merged:
219 - config-file-provider:
221 - file-id: '.packagecloud'
223 - config-file-provider:
225 - file-id: 'packagecloud_api'
228 maven-version: 'mvn33-new'
230 settings: 'hicn-settings'
232 global-settings: 'global-settings'
233 global-settings-type: cfp
236 - include-raw-hicn-checkstyle.sh
239 - include-raw-hicn-build.sh
240 - provide-maven-settings:
241 settings-file: 'hicn-settings'
242 global-settings-file: 'global-settings'
245 - ../scripts/packagecloud_push.sh
248 - ../scripts/maven_push_functions.sh
249 - include-raw-hicn-maven-push.sh
258 only-if-success: true
259 default-excludes: false
260 - fdio-infra-shiplogs:
261 maven-version: 'mvn33-new'
263 rerun-unstable-builds: false