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}'
11 - gerrit-maven-verify-dependencies
13 - '{project-name}-rtd-jobs':
14 project-pattern: integration/distribution
15 rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight-distribution/34591/
16 rtd-token: 6247e7a21158a20b207470b8bf7719c676ff8944
18 project: integration/distribution
19 project-name: distribution
20 mvn-settings: integration-distribution-settings
21 mvn-goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt'
22 mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
24 email-upstream: '[int/dist]'
30 # Self-Managed projects repos and features:
32 mvn:org.opendaylight.sxp/features-sxp//xml/features
36 branch: 'stable/oxygen'
39 branch: 'stable/nitrogen'
43 name: distribution-sonar
47 project: integration/distribution
48 project-name: distribution
50 mvn-settings: integration-distribution-settings
51 mvn-goals: clean install dependency:tree -DoutputFile=dependency_tree.txt
52 mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
55 name: 'distribution-verify-{stream}'
57 project-type: freestyle
58 node: centos7-builder-8c-8g
63 - opendaylight-infra-properties:
64 build-days-to-keep: '{build-days-to-keep}'
67 - opendaylight-infra-parameters:
68 os-cloud: '{os-cloud}'
71 refspec: 'refs/heads/{branch}'
72 artifacts: '{archive-artifacts}'
76 refspec: '$GERRIT_REFSPEC'
77 choosing-strategy: 'gerrit'
80 - opendaylight-infra-wrappers:
81 build-timeout: '{build-timeout}'
84 - gerrit-trigger-patch-submitted:
85 gerrit-server-name: '{gerrit-server-name}'
91 - wipe-org-opendaylight-repo
92 - provide-maven-settings:
93 global-settings-file: 'global-settings'
94 settings-file: 'integration-settings'
99 clean install dependency:tree -DoutputFile=dependency_tree.txt
102 -Pmanaged -Punmanaged
103 {opendaylight-infra-mvn-opts}
104 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
106 - '-Xmx1024m -XX:MaxPermSize=256m'
107 settings: integration-settings
109 global-settings: global-settings
110 global-settings-type: cfp
116 - email-notification:
117 email-recipients: '{email-recipients}'
118 email-prefix: '[{project-name}]'
121 name: 'distribution-merge-{stream}'
123 # Need to keep jobs that deploy to Nexus at end of build as Maven
124 # projects. Maybe reconsider this once upstream moves deploy to a
125 # separate lifecycle:
126 # https://issues.apache.org/jira/browse/MNG-5666
129 node: 'centos7-builder-8c-8g'
130 jdk: '{java-version}'
133 - opendaylight-infra-properties:
134 build-days-to-keep: '{build-days-to-keep}'
137 - opendaylight-infra-parameters:
138 os-cloud: '{os-cloud}'
141 refspec: 'refs/heads/{branch}'
142 artifacts: '{archive-artifacts}'
143 - distribution-karaf-version:
144 karaf-version: '{karaf-version}'
147 - gerrit-trigger-scm:
149 choosing-strategy: 'default'
152 - opendaylight-infra-wrappers:
153 build-timeout: '{build-timeout}'
156 - gerrit-trigger-patch-merged:
157 gerrit-server-name: '{gerrit-server-name}'
162 - wipe-org-opendaylight-repo
163 - jacoco-nojava-workaround
164 - provide-maven-settings:
165 global-settings-file: 'global-settings'
166 settings-file: 'integration-settings'
167 - integration-set-variables
168 - distribute-build-url:
169 path: '$KARAF_ARTIFACT/src/main/assembly'
175 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
176 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
178 -Djenkins -Dmerge -Dstream={stream}
179 -Pmanaged -Punmanaged
180 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
181 settings: integration-settings
183 global-settings: global-settings
184 global-settings-type: cfp
187 - integration-compare-distributions
188 # TODO: the output of the above command is not *friendly* for the reader because the most important info
189 # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
190 # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
199 deploy-unstable: false
202 - email-notification:
203 email-recipients: '{email-recipients}'
204 email-prefix: '[{project-name}]'
207 name: 'distribution-check-{stream}'
209 ######################
210 # Default parameters #
211 ######################
215 #####################
216 # Job Configuration #
217 #####################
219 # Like a {project}-distribution-check, but few steps less as there is no upstream project involved.
222 project-type: freestyle
223 node: 'centos7-builder-8c-8g'
225 jdk: '{java-version}'
228 - opendaylight-infra-properties:
229 build-days-to-keep: '{build-days-to-keep}'
232 - opendaylight-infra-parameters:
233 os-cloud: '{os-cloud}'
236 refspec: 'refs/heads/{branch}'
237 artifacts: '{archive-artifacts}'
238 - integration-distribution-stream:
240 - distribution-karaf-version:
241 karaf-version: '{karaf-version}'
246 - integration-gerrit-scm:
247 basedir: 'distribution'
248 refspec: '$GERRIT_REFSPEC'
252 - opendaylight-infra-wrappers:
253 # Distro-check jobs typically run within 10 - 30 minutes
254 # with 45 minutes being the occassional edge case.
255 # enforce a 60 minute limit to ensure stuck jobs get
257 # Double that as Karaf 3+4 may take longer.
261 - gerrit-trigger-patch-submitted:
262 gerrit-server-name: '{gerrit-server-name}'
268 - distribution-check-wipe
270 properties-file: 'allowed_projects.txt'
271 - distribution-check-build-project:
272 pom: 'distribution/pom.xml'
273 mvn-opts: '{opendaylight-infra-mvn-opts}'
274 mvn-version: '{mvn-version}'
275 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
276 - distribution-check-verify-groupid:
277 gerrit-project: 'integration'
278 - distribution-check-delete-snapshots
279 - distribution-check-configure-remotes
280 - distribution-check-repeat-project-build:
281 pom: 'distribution/pom.xml'
282 mvn-opts: '{opendaylight-infra-mvn-opts}'
283 mvn-version: '{mvn-version}'
284 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
285 - integration-set-variables
286 - distribution-check-warn-9191
287 - distribution-check-warn-9192
288 - integration-upload-distribution:
289 dist-pom: distribution/pom.xml
290 - distribution-check-bootup
293 - email-notification:
294 email-recipients: '{email-recipients}'
295 email-prefix: '[{project-name}]'
296 - integration-csit-archive-build
300 name: 'distribution-sanity-{stream}'
301 # Goal: Verify distribution starts with no issues when all features are loaded.
302 # Operation: This job deploys odl-integration-all + list of UM features.
303 # This jobs works for both managed & self-managed distro.
305 project-type: freestyle
306 node: centos7-builder-4c-4g
310 - opendaylight-infra-properties:
311 build-days-to-keep: '{build-days-to-keep}'
314 - opendaylight-infra-parameters:
315 os-cloud: '{os-cloud}'
318 refspec: 'refs/heads/{branch}'
319 artifacts: '{archive-artifacts}'
320 - integration-distribution-stream:
322 - integration-distribution-branch:
324 - integration-bundle-url:
325 bundle-url: '{bundle-url}'
326 - integration-repo-url:
327 repo-url: '{sm-repos}'
328 - integration-controller-features:
329 controller-features: '{sm-features}'
330 - integration-jdk-version:
332 - distribution-karaf-version:
333 karaf-version: '{karaf-version}'
336 - opendaylight-infra-wrappers:
337 build-timeout: '{build-timeout}'
340 - integration-detect-variables
341 - distribution-check-bootup
344 - email-notification:
345 email-recipients: '{email-recipients}'
346 email-prefix: '[{project-name}]'
347 - integration-csit-archive-build