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 - 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: '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 - 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'
127 - gerrit-trigger-scm:
129 choosing-strategy: 'default'
132 - opendaylight-infra-wrappers:
133 build-timeout: '{build-timeout}'
137 - gerrit-trigger-patch-merged:
138 server-name: '{server-name}'
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-recipients: '{email-recipients}'
206 email-prefix: '[int/dist]'
208 # Template: integration-distribution-deploy-{stream}
209 # Goal: Verify distribution starts with no issues when all features are loaded
210 # Operation: This job deploys the controller installing odl-integration-all
213 name: 'integration-distribution-deploy-{stream}'
215 project-type: freestyle
216 node: centos7-java-builder-2c-8g
220 - opendaylight-infra-properties:
221 build-days-to-keep: '{build-days-to-keep}'
224 - opendaylight-infra-parameters:
227 refspec: 'refs/heads/{branch}'
228 artifacts: '{archive-artifacts} **/*.hprof'
229 - integration-branch:
231 - integration-bundleurl:
232 bundleurl: '{bundleurl}'
233 - integration-jdk-version:
237 - opendaylight-infra-wrappers:
238 build-timeout: '{build-timeout}'
244 - integration-get-bundle-vars
246 properties-file: 'bundle_vars.txt'
247 - integration-deploy-controller-verify
250 - email-notification:
251 email-recipients: '{email-recipients}'
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 - opendaylight-infra-properties:
269 build-days-to-keep: '{build-days-to-keep}'
272 - opendaylight-infra-parameters:
275 refspec: 'refs/heads/{branch}'
276 artifacts: '{archive-artifacts} **/*.hprof'
277 - integration-branch:
279 - integration-bundleurl:
280 bundleurl: '{bundleurl}'
281 - integration-jdk-version:
285 - opendaylight-infra-wrappers:
286 build-timeout: '{build-timeout}'
292 - integration-get-bundle-vars
294 properties-file: 'bundle_vars.txt'
295 - integration-deploy-controller-offline
298 - email-notification:
299 email-recipients: '{email-recipients}'
300 email-prefix: '[int/dist]'
301 - integration-csit-archive-build
302 - opendaylight-infra-shiplogs:
303 maven-version: 'mvn33'