3 name: integration-distribution
5 - '{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
18 branch: 'stable/beryllium'
21 branch: 'stable/lithium'
26 name: 'integration-distribution-verify-{stream}'
34 daysToKeep: '{build-days-to-keep}'
35 numToKeep: '{build-num-to-keep}'
36 artifactDaysToKeep: '{build-artifact-days-to-keep}'
37 artifactNumToKeep: '{build-artifact-num-to-keep}'
41 project: 'integration/distribution'
45 refspec: 'refs/heads/{branch}'
46 - integration-patch-refspec:
47 branch: '$GERRIT_REFSPEC'
51 credentials-id: '{ssh-credentials}'
52 refspec: '$PATCHREFSPEC'
53 choosing-strategy: 'gerrit'
57 - ssh-agent-credentials:
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 -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
79 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
80 global-settings: '{odl-global-settings}'
81 settings: '{integration-settings}'
82 ignore-upstream-changes: true
83 post-step-run-condition: 'SUCCESS'
87 - project: 'integration-distribution-deploy-{stream}'
89 predefined-parameters:
94 email-prefix: '[integration]'
96 artifacts: '**/target/surefire-reports/*-output.txt, '
101 name: 'integration-distribution-merge-{stream}'
108 daysToKeep: '{build-days-to-keep}'
109 numToKeep: '{build-num-to-keep}'
110 artifactDaysToKeep: '{build-artifact-days-to-keep}'
111 artifactNumToKeep: '{build-artifact-num-to-keep}'
115 project: 'integration/distribution'
119 refspec: 'refs/heads/{branch}'
122 - gerrit-trigger-scm:
123 credentials-id: '{ssh-credentials}'
125 choosing-strategy: 'default'
129 - ssh-agent-credentials:
131 - '{ssh-credentials}'
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 -V -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 global-settings: '{odl-global-settings}'
152 settings: '{integration-settings}'
156 condition-kind: file-exists
157 condition-filename: deploy-site.xml
158 condition-basedir: workspace
160 # The strategy here is intentional to run Maven site:deploy twice
161 # once using regular pom.xml to produce a staged-site which is
162 # then used by deploy-site.xml to push to Nexus. This is a
163 # workaround to Maven Site's default linking code which creates
164 # incorrect URLs for sites due to auto-detection assuming your
165 # project is configured in a certain way which ODL is not.
168 maven-version: '{mvn33}'
170 goals: 'site:deploy -Dstream={stream}'
173 global-settings: '{odl-global-settings}'
174 settings: '{integration-settings}'
176 maven-version: '{mvn33}'
178 goals: 'site:deploy -Dstream={stream}'
181 global-settings: '{odl-global-settings}'
182 settings: '{integration-settings}'
189 artifacts: '**/target/surefire-reports/*-output.txt, '
190 - email-notification:
191 email-prefix: '[integration]'
195 deploy-unstable: false
198 # Template: integration-distribution-deploy-{stream}
199 # Goal: Verify distribution starts with no issues when all features are loaded
200 # Operation: This job deploys the controller installing odl-integration-all
203 name: 'integration-distribution-deploy-{stream}'
205 project-type: freestyle
210 daysToKeep: '{build-days-to-keep}'
211 numToKeep: '{build-num-to-keep}'
212 artifactDaysToKeep: '{build-artifact-days-to-keep}'
213 artifactNumToKeep: '{build-num-to-keep}'
217 project: 'integration/distribution'
218 - integration-branch:
220 - integration-bundleurl:
222 - integration-jdk-version:
227 - ssh-agent-credentials:
229 - '{ssh-credentials}'
235 - integration-get-bundle-vars
237 properties-file: 'bundle_vars.txt'
238 - integration-deploy-controller-verify
242 artifacts: '*.log,*.log.xz'
243 - email-notification:
244 email-prefix: '[integration]'
246 # Template: integration-distribution-offline-{stream}
247 # Goal: Verify distribution can start with no internet connection
248 # Operation: This job deploys the controller removing any external repository definition
251 name: 'integration-distribution-offline-{stream}'
253 project-type: freestyle
257 daysToKeep: '{build-days-to-keep}'
258 numToKeep: '{build-num-to-keep}'
259 artifactDaysToKeep: '{build-artifact-days-to-keep}'
260 artifactNumToKeep: '{build-num-to-keep}'
264 project: 'integration/distribution'
265 - integration-branch:
267 - integration-bundleurl:
269 - integration-jdk-version:
274 - ssh-agent-credentials:
276 - '{ssh-credentials}'
282 - integration-get-bundle-vars
284 properties-file: 'bundle_vars.txt'
285 - integration-deploy-controller-offline
289 artifacts: '*.log,*.log.xz'
290 - email-notification:
291 email-prefix: '[integration]'