3 name: distribution-jobs
6 name: 'distribution-verify-{stream}'
8 project-type: freestyle
9 node: centos7-builder-8c-8g
14 - opendaylight-infra-properties:
15 build-days-to-keep: '{build-days-to-keep}'
18 - opendaylight-infra-parameters:
19 os-cloud: '{os-cloud}'
22 refspec: 'refs/heads/{branch}'
23 artifacts: '{archive-artifacts}'
24 - integration-patch-refspec:
25 branch: '$GERRIT_REFSPEC'
29 refspec: '$PATCHREFSPEC'
30 choosing-strategy: 'gerrit'
33 - opendaylight-infra-wrappers:
34 build-timeout: '{build-timeout}'
37 - gerrit-trigger-patch-submitted:
38 gerrit-server-name: '{gerrit-server-name}'
44 - wipe-org-opendaylight-repo
45 - provide-maven-settings:
46 global-settings-file: 'global-settings'
47 settings-file: 'integration-settings'
52 clean install dependency:tree -DoutputFile=dependency_tree.txt
55 {opendaylight-infra-mvn-opts}
56 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
58 - '-Xmx1024m -XX:MaxPermSize=256m'
59 settings: integration-settings
61 global-settings: global-settings
62 global-settings-type: cfp
69 email-recipients: '{email-recipients}'
70 email-prefix: '[int/dist]'
73 name: 'distribution-merge-{stream}'
75 # Need to keep jobs that deploy to Nexus at end of build as Maven
76 # projects. Maybe reconsider this once upstream moves deploy to a
78 # https://issues.apache.org/jira/browse/MNG-5666
81 node: 'centos7-builder-8c-8g'
85 - opendaylight-infra-properties:
86 build-days-to-keep: '{build-days-to-keep}'
89 - opendaylight-infra-parameters:
90 os-cloud: '{os-cloud}'
93 refspec: 'refs/heads/{branch}'
94 artifacts: '{archive-artifacts}'
95 - distribution-karaf-version:
96 karaf-version: '{karaf-version}'
101 choosing-strategy: 'default'
104 - opendaylight-infra-wrappers:
105 build-timeout: '{build-timeout}'
108 - gerrit-trigger-patch-merged:
109 gerrit-server-name: '{gerrit-server-name}'
110 name: 'integration/distribution'
114 - wipe-org-opendaylight-repo
115 - jacoco-nojava-workaround
116 - provide-maven-settings:
117 global-settings-file: 'global-settings'
118 settings-file: 'integration-settings'
119 - integration-set-variables
120 - distribute-build-url:
121 path: '$KARAF_ARTIFACT/src/main/assembly'
127 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
128 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
130 -Djenkins -Dmerge -Dstream={stream}
131 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
132 settings: 'integration-settings'
134 global-settings: 'global-settings'
135 global-settings-type: cfp
139 condition-kind: file-exists
140 condition-filename: deploy-site.xml
141 condition-basedir: workspace
143 # The strategy here is intentional to run Maven site:deploy twice
144 # once using regular pom.xml to produce a staged-site which is
145 # then used by deploy-site.xml to push to Nexus. This is a
146 # workaround to Maven Site's default linking code which creates
147 # incorrect URLs for sites due to auto-detection assuming your
148 # project is configured in a certain way which ODL is not.
151 maven-version: 'mvn33'
153 goals: 'site:deploy -V -B -Dstream={stream}'
156 settings: 'integration-settings'
158 global-settings: 'global-settings'
159 global-settings-type: cfp
161 maven-version: 'mvn33'
163 goals: 'site:deploy -V -B -Dstream={stream}'
166 settings: 'integration-settings'
168 global-settings: 'global-settings'
169 global-settings-type: cfp
170 - integration-compare-distributions
171 # TODO: the output of the above command is not *friendly* for the reader because the most important info
172 # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
173 # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
182 deploy-unstable: false
185 - email-notification:
186 email-recipients: '{email-recipients}'
187 email-prefix: '[int/dist]'
190 name: 'distribution-check-{stream}'
192 ######################
193 # Default parameters #
194 ######################
198 #####################
199 # Job Configuration #
200 #####################
202 # Like a {project}-distribution-check, but few steps less as there is no upstream project involved.
205 project-type: freestyle
206 node: 'centos7-builder-8c-8g'
211 - opendaylight-infra-properties:
212 build-days-to-keep: '{build-days-to-keep}'
215 - opendaylight-infra-parameters:
216 os-cloud: '{os-cloud}'
219 refspec: 'refs/heads/{branch}'
220 artifacts: '{archive-artifacts}'
221 - distribution-karaf-version:
222 karaf-version: '{karaf-version}'
227 - integration-gerrit-scm:
228 basedir: 'distribution'
229 refspec: '$GERRIT_REFSPEC'
233 - opendaylight-infra-wrappers:
234 # Distro-check jobs typically run within 10 - 30 minutes
235 # with 45 minutes being the occassional edge case.
236 # enforce a 60 minute limit to ensure stuck jobs get
238 # Double that as Karaf 3+4 may take longer.
242 - gerrit-trigger-patch-submitted:
243 gerrit-server-name: '{gerrit-server-name}'
249 - distribution-check-wipe
250 - distribution-check-build-project:
251 pom: 'distribution/pom.xml'
252 mvn-opts: '{opendaylight-infra-mvn-opts}'
253 mvn-version: '{mvn-version}'
254 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
255 - distribution-check-verify-groupid:
256 gerrit-project: 'integration'
257 - distribution-check-delete-snapshots
258 - distribution-check-configure-remotes
259 - distribution-check-repeat-project-build:
260 pom: 'distribution/pom.xml'
261 mvn-opts: '{opendaylight-infra-mvn-opts}'
262 mvn-version: '{mvn-version}'
263 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
264 - integration-set-variables
265 - distribution-check-warn-9191
266 - distribution-check-warn-9192
267 - integration-upload-distribution:
268 dist-pom: distribution/pom.xml
269 - distribution-check-bootup
272 - email-notification:
273 email-recipients: '{email-recipients}'
274 email-prefix: '[{project-name}]'
275 - integration-csit-archive-build
279 name: 'distribution-deploy-{stream}'
280 # Goal: Verify distribution starts with no issues when all features are loaded.
281 # Operation: This job deploys the controller installing odl-integration-all.
282 # FIXME: List required variables.
284 project-type: freestyle
285 node: centos7-builder-4c-4g
289 - opendaylight-infra-properties:
290 build-days-to-keep: '{build-days-to-keep}'
293 - opendaylight-infra-parameters:
294 os-cloud: '{os-cloud}'
297 refspec: 'refs/heads/{branch}'
298 artifacts: '{archive-artifacts}'
299 - integration-distribution-branch:
301 - integration-bundle-url:
302 bundle-url: '{bundle-url}'
303 - integration-jdk-version:
305 - distribution-karaf-version:
306 karaf-version: '{karaf-version}'
309 - opendaylight-infra-wrappers:
310 build-timeout: '{build-timeout}'
312 # TODO: Trigger from sanity (instead of weekly) when this job is stable for {stream}.
315 - distribution-deploy-verify
318 - email-notification:
319 email-recipients: '{email-recipients}'
320 email-prefix: '[int/dist]'
321 - integration-csit-archive-build
325 name: 'distribution-offline-{stream}'
326 # Goal: Verify distribution can start with no internet connection.
327 # Operation: This job deploys the controller removing any external repository definition.
328 # FIXME: List required variables.
330 project-type: freestyle
331 node: centos7-builder-4c-4g
335 - opendaylight-infra-properties:
336 build-days-to-keep: '{build-days-to-keep}'
339 - opendaylight-infra-parameters:
340 os-cloud: '{os-cloud}'
343 refspec: 'refs/heads/{branch}'
344 artifacts: '{archive-artifacts}'
345 - integration-distribution-branch:
347 - integration-bundle-url:
348 bundle-url: '{bundle-url}'
349 - integration-jdk-version:
351 - distribution-karaf-version:
352 karaf-version: '{karaf-version}'
355 - opendaylight-infra-wrappers:
356 build-timeout: '{build-timeout}'
358 # TODO: Trigger from sanity (instead of weekly) when this job is stable for {stream}.
361 - distribution-deploy-offline
364 - email-notification:
365 email-recipients: '{email-recipients}'
366 email-prefix: '[int/dist]'
367 - integration-csit-archive-build