3 name: integration-distribution
5 - '{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
18 branch: 'stable/beryllium'
21 branch: 'stable/lithium'
26 name: 'integration-distribution-verify-{stream}'
29 node: centos7-java-builder-2c-8g
34 daysToKeep: '{build-days-to-keep}'
35 numToKeep: '{build-num-to-keep}'
36 artifactDaysToKeep: '{build-artifact-days-to-keep}'
37 artifactNumToKeep: '{build-artifact-num-to-keep}'
40 - opendaylight-infra-parameters:
43 refspec: 'refs/heads/{branch}'
44 artifacts: '{archive-artifacts} **/dependency_tree.txt'
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-relevant-patch-submitted:
59 name: 'integration/distribution'
63 - integration-get-bundle-url-root
65 properties-file: 'bundle.txt'
66 - wipe-org-opendaylight-repo
67 - provide-maven-settings:
68 global-settings-file: 'odl-global-settings'
69 settings-file: 'integration-settings'
74 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}'
75 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
76 settings: 'integration-settings'
78 global-settings: 'odl-global-settings'
79 global-settings-type: cfp
80 ignore-upstream-changes: true
81 post-step-run-condition: 'SUCCESS'
85 - project: 'integration-distribution-deploy-{stream}'
87 predefined-parameters:
96 maven-version: '{mvn33}'
98 email-prefix: '[int/dist]'
101 name: 'integration-distribution-merge-{stream}'
104 node: centos7-java-builder-2c-8g
108 daysToKeep: '{build-days-to-keep}'
109 numToKeep: '{build-num-to-keep}'
110 artifactDaysToKeep: '{build-artifact-days-to-keep}'
111 artifactNumToKeep: '{build-artifact-num-to-keep}'
114 - opendaylight-infra-parameters:
117 refspec: 'refs/heads/{branch}'
118 artifacts: '{archive-artifacts} **/dependency_tree.txt'
121 - gerrit-trigger-scm:
123 choosing-strategy: 'default'
126 - opendaylight-infra-wrappers:
127 build-timeout: '{build-timeout}'
131 - gerrit-trigger-patch-merged:
132 name: 'integration/distribution'
136 - wipe-org-opendaylight-repo
137 - jacoco-nojava-workaround
138 - provide-maven-settings:
139 global-settings-file: 'odl-global-settings'
140 settings-file: 'integration-settings'
143 maven-name: '{mvn33}'
145 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}'
146 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
147 settings: 'integration-settings'
149 global-settings: 'odl-global-settings'
150 global-settings-type: cfp
154 condition-kind: file-exists
155 condition-filename: deploy-site.xml
156 condition-basedir: workspace
158 # The strategy here is intentional to run Maven site:deploy twice
159 # once using regular pom.xml to produce a staged-site which is
160 # then used by deploy-site.xml to push to Nexus. This is a
161 # workaround to Maven Site's default linking code which creates
162 # incorrect URLs for sites due to auto-detection assuming your
163 # project is configured in a certain way which ODL is not.
166 maven-version: '{mvn33}'
168 goals: 'site:deploy -V -B -Dstream={stream}'
171 settings: 'integration-settings'
173 global-settings: 'odl-global-settings'
174 global-settings-type: cfp
176 maven-version: '{mvn33}'
178 goals: 'site:deploy -V -B -Dstream={stream}'
181 settings: 'integration-settings'
183 global-settings: 'odl-global-settings'
184 global-settings-type: cfp
193 deploy-unstable: false
196 maven-version: '{mvn33}'
197 - email-notification:
198 email-prefix: '[int/dist]'
200 # Template: integration-distribution-deploy-{stream}
201 # Goal: Verify distribution starts with no issues when all features are loaded
202 # Operation: This job deploys the controller installing odl-integration-all
205 name: 'integration-distribution-deploy-{stream}'
207 project-type: freestyle
208 node: centos7-java-builder-2c-8g
212 daysToKeep: '{build-days-to-keep}'
213 numToKeep: '{build-num-to-keep}'
214 artifactDaysToKeep: '{build-artifact-days-to-keep}'
215 artifactNumToKeep: '{build-num-to-keep}'
218 - opendaylight-infra-parameters:
221 refspec: 'refs/heads/{branch}'
222 artifacts: '{archive-artifacts}'
223 - integration-branch:
225 - integration-bundleurl:
227 - integration-jdk-version:
231 - opendaylight-infra-wrappers:
232 build-timeout: '{build-timeout}'
238 - integration-get-bundle-vars
240 properties-file: 'bundle_vars.txt'
241 - integration-deploy-controller-verify
244 - email-notification:
245 email-prefix: '[int/dist]'
246 - integration-csit-archive-build
248 maven-version: '{mvn33}'
250 # Template: integration-distribution-offline-{stream}
251 # Goal: Verify distribution can start with no internet connection
252 # Operation: This job deploys the controller removing any external repository definition
255 name: 'integration-distribution-offline-{stream}'
257 project-type: freestyle
258 node: centos7-java-builder-2c-8g
261 daysToKeep: '{build-days-to-keep}'
262 numToKeep: '{build-num-to-keep}'
263 artifactDaysToKeep: '{build-artifact-days-to-keep}'
264 artifactNumToKeep: '{build-num-to-keep}'
267 - opendaylight-infra-parameters:
270 refspec: 'refs/heads/{branch}'
271 artifacts: '{archive-artifacts}'
272 - integration-branch:
274 - integration-bundleurl:
276 - integration-jdk-version:
280 - opendaylight-infra-wrappers:
281 build-timeout: '{build-timeout}'
287 - integration-get-bundle-vars
289 properties-file: 'bundle_vars.txt'
290 - integration-deploy-controller-offline
293 - email-notification:
294 email-prefix: '[int/dist]'
295 - integration-csit-archive-build
297 maven-version: '{mvn33}'