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'
133 - integration-bundleurl:
136 - gerrit-trigger-scm:
138 choosing-strategy: 'default'
141 - opendaylight-infra-wrappers:
142 build-timeout: '{build-timeout}'
145 - gerrit-trigger-patch-merged:
146 server-name: '{server-name}'
147 name: 'integration/distribution'
151 - wipe-org-opendaylight-repo
152 - jacoco-nojava-workaround
153 - integration-get-bundle-vars
155 properties-file: 'bundle_vars.txt'
156 - provide-maven-settings:
157 global-settings-file: 'odl-global-settings'
158 settings-file: 'integration-settings'
159 - distribute-build-url:
160 path: 'distribution-karaf/src/main/assembly'
166 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
167 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
168 -Djenkins -Dmerge -Dstream={stream}
169 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
170 settings: 'integration-settings'
172 global-settings: 'odl-global-settings'
173 global-settings-type: cfp
177 condition-kind: file-exists
178 condition-filename: deploy-site.xml
179 condition-basedir: workspace
181 # The strategy here is intentional to run Maven site:deploy twice
182 # once using regular pom.xml to produce a staged-site which is
183 # then used by deploy-site.xml to push to Nexus. This is a
184 # workaround to Maven Site's default linking code which creates
185 # incorrect URLs for sites due to auto-detection assuming your
186 # project is configured in a certain way which ODL is not.
189 maven-version: 'mvn33'
191 goals: 'site:deploy -V -B -Dstream={stream}'
194 settings: 'integration-settings'
196 global-settings: 'odl-global-settings'
197 global-settings-type: cfp
199 maven-version: 'mvn33'
201 goals: 'site:deploy -V -B -Dstream={stream}'
204 settings: 'integration-settings'
206 global-settings: 'odl-global-settings'
207 global-settings-type: cfp
208 - integration-compare-distributions
209 # TODO: the output of the above command is not *friendly* for the reader because the most important info
210 # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
211 # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
220 deploy-unstable: false
222 - opendaylight-infra-shiplogs:
223 maven-version: 'mvn33'
224 - email-notification:
225 email-recipients: '{email-recipients}'
226 email-prefix: '[int/dist]'
228 # Template: distribution-deploy-{stream}
229 # Goal: Verify distribution starts with no issues when all features are loaded
230 # Operation: This job deploys the controller installing odl-integration-all
233 name: 'distribution-deploy-{stream}'
235 project-type: freestyle
236 node: centos7-java-builder-2c-8g
240 - opendaylight-infra-properties:
241 build-days-to-keep: '{build-days-to-keep}'
244 - opendaylight-infra-parameters:
245 os-cloud: '{os-cloud}'
248 refspec: 'refs/heads/{branch}'
249 artifacts: '{archive-artifacts} **/*.hprof'
250 - integration-distribution-branch:
252 - integration-bundleurl:
253 bundleurl: '{bundleurl}'
254 - integration-jdk-version:
258 - opendaylight-infra-wrappers:
259 build-timeout: '{build-timeout}'
265 - integration-get-bundle-vars
267 properties-file: 'bundle_vars.txt'
268 - integration-deploy-controller-verify
271 - email-notification:
272 email-recipients: '{email-recipients}'
273 email-prefix: '[int/dist]'
274 - integration-csit-archive-build
275 - opendaylight-infra-shiplogs:
276 maven-version: 'mvn33'
278 # Template: distribution-offline-{stream}
279 # Goal: Verify distribution can start with no internet connection
280 # Operation: This job deploys the controller removing any external repository definition
283 name: 'distribution-offline-{stream}'
285 project-type: freestyle
286 node: centos7-java-builder-2c-8g
289 - opendaylight-infra-properties:
290 build-days-to-keep: '{build-days-to-keep}'
293 - opendaylight-infra-parameters:
294 os-cloud: '{os-cloud}'
297 refspec: 'refs/heads/{branch}'
298 artifacts: '{archive-artifacts} **/*.hprof'
299 - integration-distribution-branch:
301 - integration-bundleurl:
302 bundleurl: '{bundleurl}'
303 - integration-jdk-version:
307 - opendaylight-infra-wrappers:
308 build-timeout: '{build-timeout}'
314 - integration-get-bundle-vars
316 properties-file: 'bundle_vars.txt'
317 - integration-deploy-controller-offline
320 - email-notification:
321 email-recipients: '{email-recipients}'
322 email-prefix: '[int/dist]'
323 - integration-csit-archive-build
324 - opendaylight-infra-shiplogs:
325 maven-version: 'mvn33'