3 name: integration-distribution
5 - '{project-name}-verify-python-{stream}'
6 - 'distribution-verify-{stream}'
7 - 'distribution-merge-{stream}'
8 - 'distribution-deploy-{stream}'
9 - 'distribution-offline-{stream}'
11 project: integration/distribution
12 project-name: integration-distribution
19 branch: 'stable/boron'
22 branch: 'stable/beryllium'
27 name: 'distribution-verify-{stream}'
30 node: centos7-java-builder-2c-8g
35 - opendaylight-infra-properties:
36 build-days-to-keep: '{build-days-to-keep}'
39 - opendaylight-infra-parameters:
42 refspec: 'refs/heads/{branch}'
43 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
44 - integration-patch-refspec:
45 branch: '$GERRIT_REFSPEC'
49 refspec: '$PATCHREFSPEC'
50 choosing-strategy: 'gerrit'
53 - opendaylight-infra-wrappers:
54 build-timeout: '{build-timeout}'
57 - gerrit-trigger-patch-submitted:
58 server: '{server-name}'
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: '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
116 - opendaylight-infra-properties:
117 build-days-to-keep: '{build-days-to-keep}'
120 - opendaylight-infra-parameters:
123 refspec: 'refs/heads/{branch}'
124 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof **/target/surefire-reports/*-output.txt'
127 - gerrit-trigger-scm:
129 choosing-strategy: 'default'
132 - opendaylight-infra-wrappers:
133 build-timeout: '{build-timeout}'
136 - gerrit-trigger-patch-merged:
137 server-name: '{server-name}'
138 name: 'integration/distribution'
142 - wipe-org-opendaylight-repo
143 - jacoco-nojava-workaround
144 - provide-maven-settings:
145 global-settings-file: 'odl-global-settings'
146 settings-file: 'integration-settings'
147 - distribute-build-url:
148 path: 'distribution-karaf/src/main/assembly'
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: 'distribution-deploy-{stream}'
216 project-type: freestyle
217 node: centos7-java-builder-2c-8g
221 - opendaylight-infra-properties:
222 build-days-to-keep: '{build-days-to-keep}'
225 - opendaylight-infra-parameters:
228 refspec: 'refs/heads/{branch}'
229 artifacts: '{archive-artifacts} **/*.hprof'
230 - integration-branch:
232 - integration-bundleurl:
233 bundleurl: '{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-recipients: '{email-recipients}'
253 email-prefix: '[int/dist]'
254 - integration-csit-archive-build
255 - opendaylight-infra-shiplogs:
256 maven-version: 'mvn33'
258 # Template: integration-distribution-offline-{stream}
259 # Goal: Verify distribution can start with no internet connection
260 # Operation: This job deploys the controller removing any external repository definition
263 name: 'distribution-offline-{stream}'
265 project-type: freestyle
266 node: centos7-java-builder-2c-8g
269 - opendaylight-infra-properties:
270 build-days-to-keep: '{build-days-to-keep}'
273 - opendaylight-infra-parameters:
276 refspec: 'refs/heads/{branch}'
277 artifacts: '{archive-artifacts} **/*.hprof'
278 - integration-branch:
280 - integration-bundleurl:
281 bundleurl: '{bundleurl}'
282 - integration-jdk-version:
286 - opendaylight-infra-wrappers:
287 build-timeout: '{build-timeout}'
293 - integration-get-bundle-vars
295 properties-file: 'bundle_vars.txt'
296 - integration-deploy-controller-offline
299 - email-notification:
300 email-recipients: '{email-recipients}'
301 email-prefix: '[int/dist]'
302 - integration-csit-archive-build
303 - opendaylight-infra-shiplogs:
304 maven-version: 'mvn33'