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}'
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}'
41 project: 'integration/distribution'
45 refspec: 'refs/heads/{branch}'
46 - integration-patch-refspec:
47 branch: '$GERRIT_REFSPEC'
51 refspec: '$PATCHREFSPEC'
52 choosing-strategy: 'gerrit'
55 - opendaylight-infra-wrappers:
56 build-timeout: '{build-timeout}'
59 - gerrit-trigger-relevant-patch-submitted:
60 name: 'integration/distribution'
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 -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: 'integration-distribution-deploy-{stream}'
88 predefined-parameters:
93 email-prefix: '[integration]'
95 artifacts: '**/target/surefire-reports/*-output.txt, '
100 name: 'integration-distribution-merge-{stream}'
107 daysToKeep: '{build-days-to-keep}'
108 numToKeep: '{build-num-to-keep}'
109 artifactDaysToKeep: '{build-artifact-days-to-keep}'
110 artifactNumToKeep: '{build-artifact-num-to-keep}'
114 project: 'integration/distribution'
118 refspec: 'refs/heads/{branch}'
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 -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
191 artifacts: '**/target/surefire-reports/*-output.txt, '
192 - email-notification:
193 email-prefix: '[integration]'
197 deploy-unstable: false
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
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}'
219 project: 'integration/distribution'
220 - integration-branch:
222 - integration-bundleurl:
224 - integration-jdk-version:
228 - opendaylight-infra-wrappers:
229 build-timeout: '{build-timeout}'
235 - integration-get-bundle-vars
237 properties-file: 'bundle_vars.txt'
238 - integration-deploy-controller-verify
241 - email-notification:
242 email-prefix: '[integration]'
243 - integration-csit-archive-build
245 maven-version: '{mvn33}'
247 # Template: integration-distribution-offline-{stream}
248 # Goal: Verify distribution can start with no internet connection
249 # Operation: This job deploys the controller removing any external repository definition
252 name: 'integration-distribution-offline-{stream}'
254 project-type: freestyle
258 daysToKeep: '{build-days-to-keep}'
259 numToKeep: '{build-num-to-keep}'
260 artifactDaysToKeep: '{build-artifact-days-to-keep}'
261 artifactNumToKeep: '{build-num-to-keep}'
265 project: 'integration/distribution'
266 - integration-branch:
268 - integration-bundleurl:
270 - integration-jdk-version:
274 - opendaylight-infra-wrappers:
275 build-timeout: '{build-timeout}'
281 - integration-get-bundle-vars
283 properties-file: 'bundle_vars.txt'
284 - integration-deploy-controller-offline
287 - email-notification:
288 email-prefix: '[integration]'
289 - integration-csit-archive-build
291 maven-version: '{mvn33}'