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'
27 name: 'integration-distribution-verify-{stream}'
30 node: centos7-java-builder-2c-8g
35 daysToKeep: '{build-days-to-keep}'
36 numToKeep: '{build-num-to-keep}'
37 artifactDaysToKeep: '{build-artifact-days-to-keep}'
38 artifactNumToKeep: '{build-artifact-num-to-keep}'
41 - opendaylight-infra-parameters:
44 refspec: 'refs/heads/{branch}'
45 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
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 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: 'integration-distribution-deploy-{stream}'
88 predefined-parameters:
96 - opendaylight-infra-shiplogs:
97 maven-version: 'mvn33'
99 email-prefix: '[int/dist]'
103 name: 'integration-distribution-merge-{stream}'
105 # Need to keep jobs that deploy to Nexus at end of build as Maven
106 # projects. Maybe reconsider this once upstream moves deploy to a
107 # separate lifecycle:
108 # https://issues.apache.org/jira/browse/MNG-5666
111 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'
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
202 - opendaylight-infra-shiplogs:
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 project-type: freestyle
215 node: centos7-java-builder-2c-8g
219 daysToKeep: '{build-days-to-keep}'
220 numToKeep: '{build-num-to-keep}'
221 artifactDaysToKeep: '{build-artifact-days-to-keep}'
222 artifactNumToKeep: '{build-num-to-keep}'
225 - opendaylight-infra-parameters:
228 refspec: 'refs/heads/{branch}'
229 artifacts: '{archive-artifacts} **/*.hprof'
230 - integration-branch:
232 - integration-bundleurl:
234 - integration-jdk-version:
238 - opendaylight-infra-wrappers:
239 build-timeout: '{build-timeout}'
245 - integration-get-bundle-vars
247 properties-file: 'bundle_vars.txt'
248 - integration-deploy-controller-verify
251 - email-notification:
252 email-prefix: '[int/dist]'
253 - integration-csit-archive-build
254 - opendaylight-infra-shiplogs:
255 maven-version: 'mvn33'
257 # Template: integration-distribution-offline-{stream}
258 # Goal: Verify distribution can start with no internet connection
259 # Operation: This job deploys the controller removing any external repository definition
262 name: 'integration-distribution-offline-{stream}'
264 project-type: freestyle
265 node: centos7-java-builder-2c-8g
268 daysToKeep: '{build-days-to-keep}'
269 numToKeep: '{build-num-to-keep}'
270 artifactDaysToKeep: '{build-artifact-days-to-keep}'
271 artifactNumToKeep: '{build-num-to-keep}'
274 - opendaylight-infra-parameters:
277 refspec: 'refs/heads/{branch}'
278 artifacts: '{archive-artifacts} **/*.hprof'
279 - integration-branch:
281 - integration-bundleurl:
283 - integration-jdk-version:
287 - opendaylight-infra-wrappers:
288 build-timeout: '{build-timeout}'
294 - integration-get-bundle-vars
296 properties-file: 'bundle_vars.txt'
297 - integration-deploy-controller-offline
300 - email-notification:
301 email-prefix: '[int/dist]'
302 - integration-csit-archive-build
303 - opendaylight-infra-shiplogs:
304 maven-version: 'mvn33'