5 # gerrit- is generic template, distribution- is project specific.
6 - 'distribution-merge-{stream}'
7 - 'distribution-verify-{stream}'
8 - 'distribution-check-{stream}'
9 - 'distribution-sanity-{stream}'
10 - 'distribution-managed-{stream}'
12 - gerrit-maven-verify-dependencies
14 - '{project-name}-rtd-jobs':
15 project-pattern: integration/distribution
16 rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight-distribution/34591/
17 rtd-token: 6247e7a21158a20b207470b8bf7719c676ff8944
19 project: integration/distribution
20 project-name: distribution
21 mvn-settings: integration-distribution-settings
22 mvn-goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt'
23 mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
25 email-upstream: '[int/dist]'
31 # Self-Managed projects repos and features:
32 sm-repos: mvn:org.opendaylight.sxp/features-sxp//xml/features
33 sm-features: odl-sxp-controller
35 branch: 'stable/oxygen'
39 name: distribution-sonar
43 project: integration/distribution
44 project-name: distribution
46 mvn-settings: integration-distribution-settings
47 mvn-goals: clean install dependency:tree -DoutputFile=dependency_tree.txt
48 mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
51 name: 'distribution-verify-{stream}'
53 project-type: freestyle
54 node: centos7-builder-8c-8g
59 - opendaylight-infra-properties:
60 build-days-to-keep: '{build-days-to-keep}'
63 - opendaylight-infra-parameters:
64 os-cloud: '{os-cloud}'
67 refspec: 'refs/heads/{branch}'
68 artifacts: '{archive-artifacts}'
72 refspec: '$GERRIT_REFSPEC'
73 choosing-strategy: 'gerrit'
76 - opendaylight-infra-wrappers:
77 build-timeout: '{build-timeout}'
80 - gerrit-trigger-patch-submitted:
81 gerrit-server-name: '{gerrit-server-name}'
87 - wipe-org-opendaylight-repo
88 - provide-maven-settings:
89 global-settings-file: 'global-settings'
90 settings-file: 'integration-settings'
95 clean install dependency:tree -DoutputFile=dependency_tree.txt
99 {opendaylight-infra-mvn-opts}
100 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
102 - '-Xmx1024m -XX:MaxPermSize=256m'
103 settings: integration-settings
105 global-settings: global-settings
106 global-settings-type: cfp
112 - email-notification:
113 email-recipients: '{email-recipients}'
114 email-prefix: '[{project-name}]'
117 name: 'distribution-merge-{stream}'
119 # Need to keep jobs that deploy to Nexus at end of build as Maven
120 # projects. Maybe reconsider this once upstream moves deploy to a
121 # separate lifecycle:
122 # https://issues.apache.org/jira/browse/MNG-5666
125 node: 'centos7-builder-8c-8g'
126 jdk: '{java-version}'
129 - opendaylight-infra-properties:
130 build-days-to-keep: '{build-days-to-keep}'
133 - opendaylight-infra-parameters:
134 os-cloud: '{os-cloud}'
137 refspec: 'refs/heads/{branch}'
138 artifacts: '{archive-artifacts}'
139 - distribution-karaf-version:
140 karaf-version: '{karaf-version}'
143 - gerrit-trigger-scm:
145 choosing-strategy: 'default'
148 - opendaylight-infra-wrappers:
149 build-timeout: '{build-timeout}'
152 - gerrit-trigger-patch-merged:
153 gerrit-server-name: '{gerrit-server-name}'
158 - wipe-org-opendaylight-repo
159 - jacoco-nojava-workaround
160 - provide-maven-settings:
161 global-settings-file: 'global-settings'
162 settings-file: 'integration-settings'
163 - integration-set-variables
164 - distribute-build-url:
165 path: '$KARAF_ARTIFACT/src/main/assembly'
171 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
172 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
174 -Djenkins -Dmerge -Dstream={stream}
175 -Pmanaged -Punmanaged
176 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
177 settings: integration-settings
179 global-settings: global-settings
180 global-settings-type: cfp
183 - integration-compare-distributions
184 # TODO: the output of the above command is not *friendly* for the reader because the most important info
185 # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
186 # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
195 deploy-unstable: false
198 - email-notification:
199 email-recipients: '{email-recipients}'
200 email-prefix: '[{project-name}]'
203 name: 'distribution-check-{stream}'
205 ######################
206 # Default parameters #
207 ######################
211 #####################
212 # Job Configuration #
213 #####################
215 # Like a {project}-distribution-check, but few steps less as there is no upstream project involved.
218 project-type: freestyle
219 node: 'centos7-builder-8c-8g'
221 jdk: '{java-version}'
224 - opendaylight-infra-properties:
225 build-days-to-keep: '{build-days-to-keep}'
228 - opendaylight-infra-parameters:
229 os-cloud: '{os-cloud}'
232 refspec: 'refs/heads/{branch}'
233 artifacts: '{archive-artifacts}'
234 - integration-distribution-stream:
236 - distribution-karaf-version:
237 karaf-version: '{karaf-version}'
242 - integration-gerrit-scm:
243 basedir: 'distribution'
244 refspec: '$GERRIT_REFSPEC'
248 - opendaylight-infra-wrappers:
249 # Distro-check jobs typically run within 10 - 30 minutes
250 # with 45 minutes being the occassional edge case.
251 # enforce a 60 minute limit to ensure stuck jobs get
253 # Double that as Karaf 3+4 may take longer.
257 - gerrit-trigger-patch-submitted:
258 gerrit-server-name: '{gerrit-server-name}'
264 - distribution-check-wipe
266 properties-file: 'allowed_projects.txt'
267 - distribution-check-build-project:
268 pom: 'distribution/pom.xml'
269 mvn-opts: '{opendaylight-infra-mvn-opts}'
270 mvn-version: '{mvn-version}'
271 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
272 - distribution-check-verify-groupid:
273 gerrit-project: 'integration'
274 - distribution-check-delete-snapshots
275 - distribution-check-configure-remotes
276 - distribution-check-repeat-project-build:
277 pom: 'distribution/pom.xml'
278 mvn-opts: '{opendaylight-infra-mvn-opts}'
279 mvn-version: '{mvn-version}'
280 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
281 - integration-set-variables
282 - distribution-check-warn-9191
283 - distribution-check-warn-9192
284 - integration-upload-distribution:
285 dist-pom: distribution/pom.xml
286 - distribution-check-bootup
289 - email-notification:
290 email-recipients: '{email-recipients}'
291 email-prefix: '[{project-name}]'
292 - integration-csit-archive-build
296 name: 'distribution-sanity-{stream}'
297 # Goal: Verify distribution starts with no issues when all features are loaded.
298 # Operation: This job deploys odl-integration-all + list of UM features.
299 # This job works for both managed & self-managed distro.
301 project-type: freestyle
302 node: centos7-builder-4c-4g
306 - opendaylight-infra-properties:
307 build-days-to-keep: '{build-days-to-keep}'
310 - opendaylight-infra-parameters:
311 os-cloud: '{os-cloud}'
314 refspec: 'refs/heads/{branch}'
315 artifacts: '{archive-artifacts}'
316 - integration-distribution-stream:
318 - integration-distribution-branch:
320 - integration-bundle-url:
321 bundle-url: '{bundle-url}'
322 - integration-repo-url:
323 repo-url: '{sm-repos}'
324 - integration-controller-features:
325 controller-features: '{sm-features}'
326 - integration-jdk-version:
328 - distribution-karaf-version:
329 karaf-version: '{karaf-version}'
332 - opendaylight-infra-wrappers:
333 build-timeout: '{build-timeout}'
336 - integration-detect-variables
337 - distribution-check-bootup
340 - email-notification:
341 email-recipients: '{email-recipients}'
342 email-prefix: '[{project-name}]'
343 - integration-csit-archive-build
347 name: 'distribution-managed-{stream}'
348 # Goal: Verify distribution starts with no issues when all features are loaded.
349 # Operation: This job deploys odl-integration-all.
350 # This job works for just managed distro.
352 project-type: freestyle
353 node: centos7-builder-4c-4g
357 - opendaylight-infra-properties:
358 build-days-to-keep: '{build-days-to-keep}'
361 - opendaylight-infra-parameters:
362 os-cloud: '{os-cloud}'
365 refspec: 'refs/heads/{branch}'
366 artifacts: '{archive-artifacts}'
367 - integration-distribution-stream:
369 - integration-distribution-branch:
371 - integration-bundle-url:
372 bundle-url: '{bundle-url}'
373 - integration-jdk-version:
375 - distribution-karaf-version:
376 karaf-version: 'karaf4'
379 - opendaylight-infra-wrappers:
380 build-timeout: '{build-timeout}'
383 - integration-detect-variables
384 - distribution-check-bootup
387 - email-notification:
388 email-recipients: '{email-recipients}'
389 email-prefix: '[{project-name}]'
390 - integration-csit-archive-build