3 name: distribution-jobs
5 - '{project-name}-verify-python-{stream}'
6 - 'distribution-verify-{stream}'
7 - 'distribution-merge-{stream}'
8 - 'distribution-deploy-{stream}'
9 - 'distribution-offline-{stream}'
11 project: integration/distribution
12 project-name: distribution
19 branch: 'stable/carbon'
22 branch: 'stable/boron'
25 branch: 'stable/beryllium'
30 name: 'distribution-verify-{stream}'
33 node: centos7-java-builder-2c-8g
38 - opendaylight-infra-properties:
39 build-days-to-keep: '{build-days-to-keep}'
42 - opendaylight-infra-parameters:
43 os-cloud: '{os-cloud}'
46 refspec: 'refs/heads/{branch}'
47 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
48 - integration-patch-refspec:
49 branch: '$GERRIT_REFSPEC'
53 refspec: '$PATCHREFSPEC'
54 choosing-strategy: 'gerrit'
57 - opendaylight-infra-wrappers:
58 build-timeout: '{build-timeout}'
61 - gerrit-trigger-patch-submitted:
62 server: '{server-name}'
68 - integration-get-bundle-url-root
70 properties-file: 'bundle.txt'
71 - wipe-org-opendaylight-repo
72 - provide-maven-settings:
73 global-settings-file: 'odl-global-settings'
74 settings-file: 'integration-settings'
80 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
81 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
82 -Djenkins -Dstream={stream}
83 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
84 settings: 'integration-settings'
86 global-settings: 'odl-global-settings'
87 global-settings-type: cfp
88 ignore-upstream-changes: true
89 post-step-run-condition: 'SUCCESS'
93 - project: 'distribution-deploy-{stream}'
95 predefined-parameters:
103 - opendaylight-infra-shiplogs:
104 maven-version: 'mvn33'
105 - email-notification:
106 email-recipients: '{email-recipients}'
107 email-prefix: '[int/dist]'
111 name: 'distribution-merge-{stream}'
113 # Need to keep jobs that deploy to Nexus at end of build as Maven
114 # projects. Maybe reconsider this once upstream moves deploy to a
115 # separate lifecycle:
116 # https://issues.apache.org/jira/browse/MNG-5666
123 - opendaylight-infra-properties:
124 build-days-to-keep: '{build-days-to-keep}'
127 - opendaylight-infra-parameters:
128 os-cloud: '{os-cloud}'
131 refspec: 'refs/heads/{branch}'
132 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof **/target/surefire-reports/*-output.txt'
134 - gerrit-trigger-scm:
136 choosing-strategy: 'default'
139 - opendaylight-infra-wrappers:
140 build-timeout: '{build-timeout}'
143 - gerrit-trigger-patch-merged:
144 server-name: '{server-name}'
145 name: 'integration/distribution'
149 - wipe-org-opendaylight-repo
150 - jacoco-nojava-workaround
151 - provide-maven-settings:
152 global-settings-file: 'odl-global-settings'
153 settings-file: 'integration-settings'
154 - distribute-build-url:
155 path: 'distribution-karaf/src/main/assembly'
161 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
162 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
163 -Djenkins -Dmerge -Dstream={stream}
164 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
165 settings: 'integration-settings'
167 global-settings: 'odl-global-settings'
168 global-settings-type: cfp
172 condition-kind: file-exists
173 condition-filename: deploy-site.xml
174 condition-basedir: workspace
176 # The strategy here is intentional to run Maven site:deploy twice
177 # once using regular pom.xml to produce a staged-site which is
178 # then used by deploy-site.xml to push to Nexus. This is a
179 # workaround to Maven Site's default linking code which creates
180 # incorrect URLs for sites due to auto-detection assuming your
181 # project is configured in a certain way which ODL is not.
184 maven-version: 'mvn33'
186 goals: 'site:deploy -V -B -Dstream={stream}'
189 settings: 'integration-settings'
191 global-settings: 'odl-global-settings'
192 global-settings-type: cfp
194 maven-version: 'mvn33'
196 goals: 'site:deploy -V -B -Dstream={stream}'
199 settings: 'integration-settings'
201 global-settings: 'odl-global-settings'
202 global-settings-type: cfp
203 - integration-compare-distributions
204 # TODO: the output of the above command is not *friendly* for the reader because the most important info
205 # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
206 # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
215 deploy-unstable: false
217 - opendaylight-infra-shiplogs:
218 maven-version: 'mvn33'
219 - email-notification:
220 email-recipients: '{email-recipients}'
221 email-prefix: '[int/dist]'
223 # Template: distribution-deploy-{stream}
224 # Goal: Verify distribution starts with no issues when all features are loaded
225 # Operation: This job deploys the controller installing odl-integration-all
228 name: 'distribution-deploy-{stream}'
230 project-type: freestyle
231 node: centos7-java-builder-2c-8g
235 - opendaylight-infra-properties:
236 build-days-to-keep: '{build-days-to-keep}'
239 - opendaylight-infra-parameters:
240 os-cloud: '{os-cloud}'
243 refspec: 'refs/heads/{branch}'
244 artifacts: '{archive-artifacts} **/*.hprof'
245 - integration-distribution-branch:
247 - integration-bundleurl:
248 bundleurl: '{bundleurl}'
249 - integration-jdk-version:
253 - opendaylight-infra-wrappers:
254 build-timeout: '{build-timeout}'
260 - integration-get-bundle-vars
262 properties-file: 'bundle_vars.txt'
263 - integration-deploy-controller-verify
266 - email-notification:
267 email-recipients: '{email-recipients}'
268 email-prefix: '[int/dist]'
269 - integration-csit-archive-build
270 - opendaylight-infra-shiplogs:
271 maven-version: 'mvn33'
273 # Template: distribution-offline-{stream}
274 # Goal: Verify distribution can start with no internet connection
275 # Operation: This job deploys the controller removing any external repository definition
278 name: 'distribution-offline-{stream}'
280 project-type: freestyle
281 node: centos7-java-builder-2c-8g
284 - opendaylight-infra-properties:
285 build-days-to-keep: '{build-days-to-keep}'
288 - opendaylight-infra-parameters:
289 os-cloud: '{os-cloud}'
292 refspec: 'refs/heads/{branch}'
293 artifacts: '{archive-artifacts} **/*.hprof'
294 - integration-distribution-branch:
296 - integration-bundleurl:
297 bundleurl: '{bundleurl}'
298 - integration-jdk-version:
302 - opendaylight-infra-wrappers:
303 build-timeout: '{build-timeout}'
309 - integration-get-bundle-vars
311 properties-file: 'bundle_vars.txt'
312 - integration-deploy-controller-offline
315 - email-notification:
316 email-recipients: '{email-recipients}'
317 email-prefix: '[int/dist]'
318 - integration-csit-archive-build
319 - opendaylight-infra-shiplogs:
320 maven-version: 'mvn33'