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'
25 branch: 'stable/lithium'
30 name: 'integration-distribution-verify-{stream}'
33 node: centos7-java-builder-2c-8g
38 daysToKeep: '{build-days-to-keep}'
39 numToKeep: '{build-num-to-keep}'
40 artifactDaysToKeep: '{build-artifact-days-to-keep}'
41 artifactNumToKeep: '{build-artifact-num-to-keep}'
44 - opendaylight-infra-parameters:
47 refspec: 'refs/heads/{branch}'
48 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
49 - integration-patch-refspec:
50 branch: '$GERRIT_REFSPEC'
54 refspec: '$PATCHREFSPEC'
55 choosing-strategy: 'gerrit'
58 - opendaylight-infra-wrappers:
59 build-timeout: '{build-timeout}'
62 - gerrit-trigger-relevant-patch-submitted:
63 name: 'integration/distribution'
67 - integration-get-bundle-url-root
69 properties-file: 'bundle.txt'
70 - wipe-org-opendaylight-repo
71 - provide-maven-settings:
72 global-settings-file: 'odl-global-settings'
73 settings-file: 'integration-settings'
78 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}'
79 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
80 settings: 'integration-settings'
82 global-settings: 'odl-global-settings'
83 global-settings-type: cfp
84 ignore-upstream-changes: true
85 post-step-run-condition: 'SUCCESS'
89 - project: 'integration-distribution-deploy-{stream}'
91 predefined-parameters:
99 - opendaylight-infra-shiplogs:
100 maven-version: '{mvn33}'
101 - email-notification:
102 email-prefix: '[int/dist]'
105 name: 'integration-distribution-merge-{stream}'
108 node: centos7-java-builder-2c-8g
112 daysToKeep: '{build-days-to-keep}'
113 numToKeep: '{build-num-to-keep}'
114 artifactDaysToKeep: '{build-artifact-days-to-keep}'
115 artifactNumToKeep: '{build-artifact-num-to-keep}'
118 - opendaylight-infra-parameters:
121 refspec: 'refs/heads/{branch}'
122 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
125 - gerrit-trigger-scm:
127 choosing-strategy: 'default'
130 - opendaylight-infra-wrappers:
131 build-timeout: '{build-timeout}'
135 - gerrit-trigger-patch-merged:
136 name: 'integration/distribution'
140 - wipe-org-opendaylight-repo
141 - jacoco-nojava-workaround
142 - provide-maven-settings:
143 global-settings-file: 'odl-global-settings'
144 settings-file: 'integration-settings'
147 maven-name: '{mvn33}'
149 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}'
150 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
151 settings: 'integration-settings'
153 global-settings: 'odl-global-settings'
154 global-settings-type: cfp
158 condition-kind: file-exists
159 condition-filename: deploy-site.xml
160 condition-basedir: workspace
162 # The strategy here is intentional to run Maven site:deploy twice
163 # once using regular pom.xml to produce a staged-site which is
164 # then used by deploy-site.xml to push to Nexus. This is a
165 # workaround to Maven Site's default linking code which creates
166 # incorrect URLs for sites due to auto-detection assuming your
167 # project is configured in a certain way which ODL is not.
170 maven-version: '{mvn33}'
172 goals: 'site:deploy -V -B -Dstream={stream}'
175 settings: 'integration-settings'
177 global-settings: 'odl-global-settings'
178 global-settings-type: cfp
180 maven-version: '{mvn33}'
182 goals: 'site:deploy -V -B -Dstream={stream}'
185 settings: 'integration-settings'
187 global-settings: 'odl-global-settings'
188 global-settings-type: cfp
197 deploy-unstable: false
199 - opendaylight-infra-shiplogs:
200 maven-version: '{mvn33}'
201 - email-notification:
202 email-prefix: '[int/dist]'
204 # Template: integration-distribution-deploy-{stream}
205 # Goal: Verify distribution starts with no issues when all features are loaded
206 # Operation: This job deploys the controller installing odl-integration-all
209 name: 'integration-distribution-deploy-{stream}'
211 project-type: freestyle
212 node: centos7-java-builder-2c-8g
216 daysToKeep: '{build-days-to-keep}'
217 numToKeep: '{build-num-to-keep}'
218 artifactDaysToKeep: '{build-artifact-days-to-keep}'
219 artifactNumToKeep: '{build-num-to-keep}'
222 - opendaylight-infra-parameters:
225 refspec: 'refs/heads/{branch}'
226 artifacts: '{archive-artifacts} **/*.hprof'
227 - integration-branch:
229 - integration-bundleurl:
231 - integration-jdk-version:
235 - opendaylight-infra-wrappers:
236 build-timeout: '{build-timeout}'
242 - integration-get-bundle-vars
244 properties-file: 'bundle_vars.txt'
245 - integration-deploy-controller-verify
248 - email-notification:
249 email-prefix: '[int/dist]'
250 - integration-csit-archive-build
251 - opendaylight-infra-shiplogs:
252 maven-version: '{mvn33}'
254 # Template: integration-distribution-offline-{stream}
255 # Goal: Verify distribution can start with no internet connection
256 # Operation: This job deploys the controller removing any external repository definition
259 name: 'integration-distribution-offline-{stream}'
261 project-type: freestyle
262 node: centos7-java-builder-2c-8g
265 daysToKeep: '{build-days-to-keep}'
266 numToKeep: '{build-num-to-keep}'
267 artifactDaysToKeep: '{build-artifact-days-to-keep}'
268 artifactNumToKeep: '{build-num-to-keep}'
271 - opendaylight-infra-parameters:
274 refspec: 'refs/heads/{branch}'
275 artifacts: '{archive-artifacts} **/*.hprof'
276 - integration-branch:
278 - integration-bundleurl:
280 - integration-jdk-version:
284 - opendaylight-infra-wrappers:
285 build-timeout: '{build-timeout}'
291 - integration-get-bundle-vars
293 properties-file: 'bundle_vars.txt'
294 - integration-deploy-controller-offline
297 - email-notification:
298 email-prefix: '[int/dist]'
299 - integration-csit-archive-build
300 - opendaylight-infra-shiplogs:
301 maven-version: '{mvn33}'