3 name: integration-distribution
5 - '{project-name}-verify-python-{stream}'
6 - 'integration-distribution-verify-{stream}'
7 - 'integration-distribution-merge-{stream}'
8 - 'integration-distribution-deploy-{stream}'
9 - 'integration-distribution-offline-{stream}'
11 project: integration/distribution
12 project-name: integration-distribution
19 branch: 'stable/boron'
22 branch: 'stable/beryllium'
26 branch: 'stable/lithium'
31 name: 'integration-distribution-verify-{stream}'
33 node: centos7-java-builder-2c-8g
40 daysToKeep: '{build-days-to-keep}'
41 numToKeep: '{build-num-to-keep}'
42 artifactDaysToKeep: '{build-artifact-days-to-keep}'
43 artifactNumToKeep: '{build-artifact-num-to-keep}'
46 - opendaylight-infra-parameters:
49 refspec: 'refs/heads/{branch}'
50 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
51 - integration-patch-refspec:
52 branch: '$GERRIT_REFSPEC'
56 refspec: '$PATCHREFSPEC'
57 choosing-strategy: 'gerrit'
60 - opendaylight-infra-wrappers:
61 build-timeout: '{build-timeout}'
64 - gerrit-trigger-relevant-patch-submitted:
65 name: 'integration/distribution'
69 - integration-get-bundle-url-root
71 properties-file: 'bundle.txt'
72 - wipe-org-opendaylight-repo
73 - provide-maven-settings:
74 global-settings-file: 'odl-global-settings'
75 settings-file: 'integration-settings'
80 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}'
81 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
82 settings: 'integration-settings'
84 global-settings: 'odl-global-settings'
85 global-settings-type: cfp
86 ignore-upstream-changes: true
87 post-step-run-condition: 'SUCCESS'
91 - project: 'integration-distribution-deploy-{stream}'
93 predefined-parameters:
102 maven-version: '{mvn33}'
103 - email-notification:
104 email-prefix: '[int/dist]'
107 name: 'integration-distribution-merge-{stream}'
109 node: centos7-java-builder-2c-8g
115 daysToKeep: '{build-days-to-keep}'
116 numToKeep: '{build-num-to-keep}'
117 artifactDaysToKeep: '{build-artifact-days-to-keep}'
118 artifactNumToKeep: '{build-artifact-num-to-keep}'
121 - opendaylight-infra-parameters:
124 refspec: 'refs/heads/{branch}'
125 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
128 - gerrit-trigger-scm:
130 choosing-strategy: 'default'
133 - opendaylight-infra-wrappers:
134 build-timeout: '{build-timeout}'
138 - gerrit-trigger-patch-merged:
139 name: 'integration/distribution'
143 - wipe-org-opendaylight-repo
144 - jacoco-nojava-workaround
145 - provide-maven-settings:
146 global-settings-file: 'odl-global-settings'
147 settings-file: 'integration-settings'
150 maven-name: '{mvn33}'
152 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}'
153 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
154 settings: 'integration-settings'
156 global-settings: 'odl-global-settings'
157 global-settings-type: cfp
161 condition-kind: file-exists
162 condition-filename: deploy-site.xml
163 condition-basedir: workspace
165 # The strategy here is intentional to run Maven site:deploy twice
166 # once using regular pom.xml to produce a staged-site which is
167 # then used by deploy-site.xml to push to Nexus. This is a
168 # workaround to Maven Site's default linking code which creates
169 # incorrect URLs for sites due to auto-detection assuming your
170 # project is configured in a certain way which ODL is not.
173 maven-version: '{mvn33}'
175 goals: 'site:deploy -V -B -Dstream={stream}'
178 settings: 'integration-settings'
180 global-settings: 'odl-global-settings'
181 global-settings-type: cfp
183 maven-version: '{mvn33}'
185 goals: 'site:deploy -V -B -Dstream={stream}'
188 settings: 'integration-settings'
190 global-settings: 'odl-global-settings'
191 global-settings-type: cfp
200 deploy-unstable: false
203 maven-version: '{mvn33}'
204 - email-notification:
205 email-prefix: '[int/dist]'
207 # Template: integration-distribution-deploy-{stream}
208 # Goal: Verify distribution starts with no issues when all features are loaded
209 # Operation: This job deploys the controller installing odl-integration-all
212 name: 'integration-distribution-deploy-{stream}'
214 node: centos7-java-builder-2c-8g
216 project-type: freestyle
220 daysToKeep: '{build-days-to-keep}'
221 numToKeep: '{build-num-to-keep}'
222 artifactDaysToKeep: '{build-artifact-days-to-keep}'
223 artifactNumToKeep: '{build-num-to-keep}'
226 - opendaylight-infra-parameters:
229 refspec: 'refs/heads/{branch}'
230 artifacts: '{archive-artifacts} **/*.hprof'
231 - integration-branch:
233 - integration-bundleurl:
235 - integration-jdk-version:
239 - opendaylight-infra-wrappers:
240 build-timeout: '{build-timeout}'
246 - integration-get-bundle-vars
248 properties-file: 'bundle_vars.txt'
249 - integration-deploy-controller-verify
252 - email-notification:
253 email-prefix: '[int/dist]'
254 - integration-csit-archive-build
256 maven-version: '{mvn33}'
258 # Template: integration-distribution-offline-{stream}
259 # Goal: Verify distribution can start with no internet connection
260 # Operation: This job deploys the controller removing any external repository definition
263 name: 'integration-distribution-offline-{stream}'
265 node: centos7-java-builder-2c-8g
267 project-type: freestyle
270 daysToKeep: '{build-days-to-keep}'
271 numToKeep: '{build-num-to-keep}'
272 artifactDaysToKeep: '{build-artifact-days-to-keep}'
273 artifactNumToKeep: '{build-num-to-keep}'
276 - opendaylight-infra-parameters:
279 refspec: 'refs/heads/{branch}'
280 artifacts: '{archive-artifacts} **/*.hprof'
281 - integration-branch:
283 - integration-bundleurl:
285 - integration-jdk-version:
289 - opendaylight-infra-wrappers:
290 build-timeout: '{build-timeout}'
296 - integration-get-bundle-vars
298 properties-file: 'bundle_vars.txt'
299 - integration-deploy-controller-offline
302 - email-notification:
303 email-prefix: '[int/dist]'
304 - integration-csit-archive-build
306 maven-version: '{mvn33}'