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-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-recipients: '{email-recipients}'
100 email-prefix: '[int/dist]'
104 name: 'integration-distribution-merge-{stream}'
106 # Need to keep jobs that deploy to Nexus at end of build as Maven
107 # projects. Maybe reconsider this once upstream moves deploy to a
108 # separate lifecycle:
109 # https://issues.apache.org/jira/browse/MNG-5666
112 node: centos7-java-builder-2c-8g
116 daysToKeep: '{build-days-to-keep}'
117 numToKeep: '{build-num-to-keep}'
118 artifactDaysToKeep: '{build-artifact-days-to-keep}'
119 artifactNumToKeep: '{build-artifact-num-to-keep}'
122 - opendaylight-infra-parameters:
125 refspec: 'refs/heads/{branch}'
126 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
129 - gerrit-trigger-scm:
131 choosing-strategy: 'default'
134 - opendaylight-infra-wrappers:
135 build-timeout: '{build-timeout}'
139 - gerrit-trigger-patch-merged:
140 name: 'integration/distribution'
144 - wipe-org-opendaylight-repo
145 - jacoco-nojava-workaround
146 - provide-maven-settings:
147 global-settings-file: 'odl-global-settings'
148 settings-file: 'integration-settings'
153 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}'
154 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
155 settings: 'integration-settings'
157 global-settings: 'odl-global-settings'
158 global-settings-type: cfp
162 condition-kind: file-exists
163 condition-filename: deploy-site.xml
164 condition-basedir: workspace
166 # The strategy here is intentional to run Maven site:deploy twice
167 # once using regular pom.xml to produce a staged-site which is
168 # then used by deploy-site.xml to push to Nexus. This is a
169 # workaround to Maven Site's default linking code which creates
170 # incorrect URLs for sites due to auto-detection assuming your
171 # project is configured in a certain way which ODL is not.
174 maven-version: 'mvn33'
176 goals: 'site:deploy -V -B -Dstream={stream}'
179 settings: 'integration-settings'
181 global-settings: 'odl-global-settings'
182 global-settings-type: cfp
184 maven-version: 'mvn33'
186 goals: 'site:deploy -V -B -Dstream={stream}'
189 settings: 'integration-settings'
191 global-settings: 'odl-global-settings'
192 global-settings-type: cfp
201 deploy-unstable: false
203 - opendaylight-infra-shiplogs:
204 maven-version: 'mvn33'
205 - email-notification:
206 email-recipients: '{email-recipients}'
207 email-prefix: '[int/dist]'
209 # Template: integration-distribution-deploy-{stream}
210 # Goal: Verify distribution starts with no issues when all features are loaded
211 # Operation: This job deploys the controller installing odl-integration-all
214 name: 'integration-distribution-deploy-{stream}'
216 project-type: freestyle
217 node: centos7-java-builder-2c-8g
221 daysToKeep: '{build-days-to-keep}'
222 numToKeep: '{build-num-to-keep}'
223 artifactDaysToKeep: '{build-artifact-days-to-keep}'
224 artifactNumToKeep: '{build-num-to-keep}'
227 - opendaylight-infra-parameters:
230 refspec: 'refs/heads/{branch}'
231 artifacts: '{archive-artifacts} **/*.hprof'
232 - integration-branch:
234 - integration-bundleurl:
236 - integration-jdk-version:
240 - opendaylight-infra-wrappers:
241 build-timeout: '{build-timeout}'
247 - integration-get-bundle-vars
249 properties-file: 'bundle_vars.txt'
250 - integration-deploy-controller-verify
253 - email-notification:
254 email-recipients: '{email-recipients}'
255 email-prefix: '[int/dist]'
256 - integration-csit-archive-build
257 - opendaylight-infra-shiplogs:
258 maven-version: 'mvn33'
260 # Template: integration-distribution-offline-{stream}
261 # Goal: Verify distribution can start with no internet connection
262 # Operation: This job deploys the controller removing any external repository definition
265 name: 'integration-distribution-offline-{stream}'
267 project-type: freestyle
268 node: centos7-java-builder-2c-8g
271 daysToKeep: '{build-days-to-keep}'
272 numToKeep: '{build-num-to-keep}'
273 artifactDaysToKeep: '{build-artifact-days-to-keep}'
274 artifactNumToKeep: '{build-num-to-keep}'
277 - opendaylight-infra-parameters:
280 refspec: 'refs/heads/{branch}'
281 artifacts: '{archive-artifacts} **/*.hprof'
282 - integration-branch:
284 - integration-bundleurl:
286 - integration-jdk-version:
290 - opendaylight-infra-wrappers:
291 build-timeout: '{build-timeout}'
297 - integration-get-bundle-vars
299 properties-file: 'bundle_vars.txt'
300 - integration-deploy-controller-offline
303 - email-notification:
304 email-recipients: '{email-recipients}'
305 email-prefix: '[int/dist]'
306 - integration-csit-archive-build
307 - opendaylight-infra-shiplogs:
308 maven-version: 'mvn33'