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:
42 refspec: 'refs/heads/{branch}'
43 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
44 - integration-patch-refspec:
45 branch: '$GERRIT_REFSPEC'
49 refspec: '$PATCHREFSPEC'
50 choosing-strategy: 'gerrit'
53 - opendaylight-infra-wrappers:
54 build-timeout: '{build-timeout}'
57 - gerrit-trigger-patch-submitted:
58 server: '{server-name}'
64 - integration-get-bundle-url-root
66 properties-file: 'bundle.txt'
67 - wipe-org-opendaylight-repo
68 - provide-maven-settings:
69 global-settings-file: 'odl-global-settings'
70 settings-file: 'integration-settings'
75 goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
76 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
77 settings: 'integration-settings'
79 global-settings: 'odl-global-settings'
80 global-settings-type: cfp
81 ignore-upstream-changes: true
82 post-step-run-condition: 'SUCCESS'
86 - project: 'distribution-deploy-{stream}'
88 predefined-parameters:
96 - opendaylight-infra-shiplogs:
97 maven-version: 'mvn33'
99 email-recipients: '{email-recipients}'
100 email-prefix: '[int/dist]'
104 name: 'distribution-merge-{stream}'
106 # Need to keep jobs that deploy to Nexus at end of build as Maven
107 # projects. Maybe reconsider this once upstream moves deploy to a
108 # separate lifecycle:
109 # https://issues.apache.org/jira/browse/MNG-5666
116 - opendaylight-infra-properties:
117 build-days-to-keep: '{build-days-to-keep}'
120 - opendaylight-infra-parameters:
123 refspec: 'refs/heads/{branch}'
124 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof **/target/surefire-reports/*-output.txt'
125 - integration-bundleurl:
128 - gerrit-trigger-scm:
130 choosing-strategy: 'default'
133 - opendaylight-infra-wrappers:
134 build-timeout: '{build-timeout}'
137 - gerrit-trigger-patch-merged:
138 server-name: '{server-name}'
139 name: 'integration/distribution'
143 - wipe-org-opendaylight-repo
144 - jacoco-nojava-workaround
145 - integration-get-bundle-vars
147 properties-file: 'bundle_vars.txt'
148 - provide-maven-settings:
149 global-settings-file: 'odl-global-settings'
150 settings-file: 'integration-settings'
151 - distribute-build-url:
152 path: 'distribution-karaf/src/main/assembly'
157 goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
158 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
159 settings: 'integration-settings'
161 global-settings: 'odl-global-settings'
162 global-settings-type: cfp
166 condition-kind: file-exists
167 condition-filename: deploy-site.xml
168 condition-basedir: workspace
170 # The strategy here is intentional to run Maven site:deploy twice
171 # once using regular pom.xml to produce a staged-site which is
172 # then used by deploy-site.xml to push to Nexus. This is a
173 # workaround to Maven Site's default linking code which creates
174 # incorrect URLs for sites due to auto-detection assuming your
175 # project is configured in a certain way which ODL is not.
178 maven-version: 'mvn33'
180 goals: 'site:deploy -V -B -Dstream={stream}'
183 settings: 'integration-settings'
185 global-settings: 'odl-global-settings'
186 global-settings-type: cfp
188 maven-version: 'mvn33'
190 goals: 'site:deploy -V -B -Dstream={stream}'
193 settings: 'integration-settings'
195 global-settings: 'odl-global-settings'
196 global-settings-type: cfp
197 - integration-compare-distributions
198 # TODO: the output of the above command is not *friendly* for the reader because the most important info
199 # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
200 # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
209 deploy-unstable: false
211 - opendaylight-infra-shiplogs:
212 maven-version: 'mvn33'
213 - email-notification:
214 email-recipients: '{email-recipients}'
215 email-prefix: '[int/dist]'
217 # Template: distribution-deploy-{stream}
218 # Goal: Verify distribution starts with no issues when all features are loaded
219 # Operation: This job deploys the controller installing odl-integration-all
222 name: 'distribution-deploy-{stream}'
224 project-type: freestyle
225 node: centos7-java-builder-2c-8g
229 - opendaylight-infra-properties:
230 build-days-to-keep: '{build-days-to-keep}'
233 - opendaylight-infra-parameters:
236 refspec: 'refs/heads/{branch}'
237 artifacts: '{archive-artifacts} **/*.hprof'
238 - integration-distribution-branch:
240 - integration-bundleurl:
241 bundleurl: '{bundleurl}'
242 - integration-jdk-version:
246 - opendaylight-infra-wrappers:
247 build-timeout: '{build-timeout}'
253 - integration-get-bundle-vars
255 properties-file: 'bundle_vars.txt'
256 - integration-deploy-controller-verify
259 - email-notification:
260 email-recipients: '{email-recipients}'
261 email-prefix: '[int/dist]'
262 - integration-csit-archive-build
263 - opendaylight-infra-shiplogs:
264 maven-version: 'mvn33'
266 # Template: distribution-offline-{stream}
267 # Goal: Verify distribution can start with no internet connection
268 # Operation: This job deploys the controller removing any external repository definition
271 name: 'distribution-offline-{stream}'
273 project-type: freestyle
274 node: centos7-java-builder-2c-8g
277 - opendaylight-infra-properties:
278 build-days-to-keep: '{build-days-to-keep}'
281 - opendaylight-infra-parameters:
284 refspec: 'refs/heads/{branch}'
285 artifacts: '{archive-artifacts} **/*.hprof'
286 - integration-distribution-branch:
288 - integration-bundleurl:
289 bundleurl: '{bundleurl}'
290 - integration-jdk-version:
294 - opendaylight-infra-wrappers:
295 build-timeout: '{build-timeout}'
301 - integration-get-bundle-vars
303 properties-file: 'bundle_vars.txt'
304 - integration-deploy-controller-offline
307 - email-notification:
308 email-recipients: '{email-recipients}'
309 email-prefix: '[int/dist]'
310 - integration-csit-archive-build
311 - opendaylight-infra-shiplogs:
312 maven-version: 'mvn33'