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/boron'
22 branch: 'stable/beryllium'
27 name: 'distribution-verify-{stream}'
30 node: centos7-java-builder-2c-8g
35 - opendaylight-infra-properties:
36 build-days-to-keep: '{build-days-to-keep}'
39 - opendaylight-infra-parameters:
40 os-cloud: '{os-cloud}'
43 refspec: 'refs/heads/{branch}'
44 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
45 - integration-patch-refspec:
46 branch: '$GERRIT_REFSPEC'
50 refspec: '$PATCHREFSPEC'
51 choosing-strategy: 'gerrit'
54 - opendaylight-infra-wrappers:
55 build-timeout: '{build-timeout}'
58 - gerrit-trigger-patch-submitted:
59 server: '{server-name}'
65 - integration-get-bundle-url-root
67 properties-file: 'bundle.txt'
68 - wipe-org-opendaylight-repo
69 - provide-maven-settings:
70 global-settings-file: 'odl-global-settings'
71 settings-file: 'integration-settings'
77 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
78 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
79 -Djenkins -Dstream={stream}
80 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
81 settings: 'integration-settings'
83 global-settings: 'odl-global-settings'
84 global-settings-type: cfp
85 ignore-upstream-changes: true
86 post-step-run-condition: 'SUCCESS'
90 - project: 'distribution-deploy-{stream}'
92 predefined-parameters:
100 - opendaylight-infra-shiplogs:
101 maven-version: 'mvn33'
102 - email-notification:
103 email-recipients: '{email-recipients}'
104 email-prefix: '[int/dist]'
108 name: 'distribution-merge-{stream}'
110 # Need to keep jobs that deploy to Nexus at end of build as Maven
111 # projects. Maybe reconsider this once upstream moves deploy to a
112 # separate lifecycle:
113 # https://issues.apache.org/jira/browse/MNG-5666
120 - opendaylight-infra-properties:
121 build-days-to-keep: '{build-days-to-keep}'
124 - opendaylight-infra-parameters:
125 os-cloud: '{os-cloud}'
128 refspec: 'refs/heads/{branch}'
129 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof **/target/surefire-reports/*-output.txt'
130 - integration-bundleurl:
133 - gerrit-trigger-scm:
135 choosing-strategy: 'default'
138 - opendaylight-infra-wrappers:
139 build-timeout: '{build-timeout}'
142 - gerrit-trigger-patch-merged:
143 server-name: '{server-name}'
144 name: 'integration/distribution'
148 - wipe-org-opendaylight-repo
149 - jacoco-nojava-workaround
150 - integration-get-bundle-vars
152 properties-file: 'bundle_vars.txt'
153 - provide-maven-settings:
154 global-settings-file: 'odl-global-settings'
155 settings-file: 'integration-settings'
156 - distribute-build-url:
157 path: 'distribution-karaf/src/main/assembly'
163 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
164 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
165 -Djenkins -Dmerge -Dstream={stream}
166 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
167 settings: 'integration-settings'
169 global-settings: 'odl-global-settings'
170 global-settings-type: cfp
174 condition-kind: file-exists
175 condition-filename: deploy-site.xml
176 condition-basedir: workspace
178 # The strategy here is intentional to run Maven site:deploy twice
179 # once using regular pom.xml to produce a staged-site which is
180 # then used by deploy-site.xml to push to Nexus. This is a
181 # workaround to Maven Site's default linking code which creates
182 # incorrect URLs for sites due to auto-detection assuming your
183 # project is configured in a certain way which ODL is not.
186 maven-version: 'mvn33'
188 goals: 'site:deploy -V -B -Dstream={stream}'
191 settings: 'integration-settings'
193 global-settings: 'odl-global-settings'
194 global-settings-type: cfp
196 maven-version: 'mvn33'
198 goals: 'site:deploy -V -B -Dstream={stream}'
201 settings: 'integration-settings'
203 global-settings: 'odl-global-settings'
204 global-settings-type: cfp
205 - integration-compare-distributions
206 # TODO: the output of the above command is not *friendly* for the reader because the most important info
207 # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
208 # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
217 deploy-unstable: false
219 - opendaylight-infra-shiplogs:
220 maven-version: 'mvn33'
221 - email-notification:
222 email-recipients: '{email-recipients}'
223 email-prefix: '[int/dist]'
225 # Template: distribution-deploy-{stream}
226 # Goal: Verify distribution starts with no issues when all features are loaded
227 # Operation: This job deploys the controller installing odl-integration-all
230 name: 'distribution-deploy-{stream}'
232 project-type: freestyle
233 node: centos7-java-builder-2c-8g
237 - opendaylight-infra-properties:
238 build-days-to-keep: '{build-days-to-keep}'
241 - opendaylight-infra-parameters:
242 os-cloud: '{os-cloud}'
245 refspec: 'refs/heads/{branch}'
246 artifacts: '{archive-artifacts} **/*.hprof'
247 - integration-distribution-branch:
249 - integration-bundleurl:
250 bundleurl: '{bundleurl}'
251 - integration-jdk-version:
255 - opendaylight-infra-wrappers:
256 build-timeout: '{build-timeout}'
262 - integration-get-bundle-vars
264 properties-file: 'bundle_vars.txt'
265 - integration-deploy-controller-verify
268 - email-notification:
269 email-recipients: '{email-recipients}'
270 email-prefix: '[int/dist]'
271 - integration-csit-archive-build
272 - opendaylight-infra-shiplogs:
273 maven-version: 'mvn33'
275 # Template: distribution-offline-{stream}
276 # Goal: Verify distribution can start with no internet connection
277 # Operation: This job deploys the controller removing any external repository definition
280 name: 'distribution-offline-{stream}'
282 project-type: freestyle
283 node: centos7-java-builder-2c-8g
286 - opendaylight-infra-properties:
287 build-days-to-keep: '{build-days-to-keep}'
290 - opendaylight-infra-parameters:
291 os-cloud: '{os-cloud}'
294 refspec: 'refs/heads/{branch}'
295 artifacts: '{archive-artifacts} **/*.hprof'
296 - integration-distribution-branch:
298 - integration-bundleurl:
299 bundleurl: '{bundleurl}'
300 - integration-jdk-version:
304 - opendaylight-infra-wrappers:
305 build-timeout: '{build-timeout}'
311 - integration-get-bundle-vars
313 properties-file: 'bundle_vars.txt'
314 - integration-deploy-controller-offline
317 - email-notification:
318 email-recipients: '{email-recipients}'
319 email-prefix: '[int/dist]'
320 - integration-csit-archive-build
321 - opendaylight-infra-shiplogs:
322 maven-version: 'mvn33'