3 name: 'distribution-verify-{stream}'
5 project-type: freestyle
6 node: centos7-builder-8c-8g
11 - opendaylight-infra-properties:
12 build-days-to-keep: '{build-days-to-keep}'
15 - opendaylight-infra-parameters:
16 os-cloud: '{os-cloud}'
19 refspec: 'refs/heads/{branch}'
20 artifacts: '{archive-artifacts}'
24 refspec: '$GERRIT_REFSPEC'
25 choosing-strategy: 'gerrit'
28 - opendaylight-infra-wrappers:
29 build-timeout: '{build-timeout}'
32 - gerrit-trigger-patch-submitted:
33 gerrit-server-name: '{gerrit-server-name}'
39 - wipe-org-opendaylight-repo
40 - provide-maven-settings:
41 global-settings-file: 'global-settings'
42 settings-file: 'integration-settings'
47 clean install dependency:tree -DoutputFile=dependency_tree.txt
51 {opendaylight-infra-mvn-opts}
52 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
54 - '-Xmx1024m -XX:MaxPermSize=256m'
55 settings: integration-settings
57 global-settings: global-settings
58 global-settings-type: cfp
65 email-recipients: '{email-recipients}'
66 email-prefix: '[{project-name}]'
69 name: 'distribution-merge-{stream}'
71 # Need to keep jobs that deploy to Nexus at end of build as Maven
72 # projects. Maybe reconsider this once upstream moves deploy to a
74 # https://issues.apache.org/jira/browse/MNG-5666
77 node: 'centos7-builder-8c-8g'
81 - opendaylight-infra-properties:
82 build-days-to-keep: '{build-days-to-keep}'
85 - opendaylight-infra-parameters:
86 os-cloud: '{os-cloud}'
89 refspec: 'refs/heads/{branch}'
90 artifacts: '{archive-artifacts}'
91 - distribution-karaf-version:
92 karaf-version: '{karaf-version}'
97 choosing-strategy: 'default'
100 - opendaylight-infra-wrappers:
101 build-timeout: '{build-timeout}'
104 - gerrit-trigger-patch-merged:
105 gerrit-server-name: '{gerrit-server-name}'
110 - wipe-org-opendaylight-repo
111 - jacoco-nojava-workaround
112 - provide-maven-settings:
113 global-settings-file: 'global-settings'
114 settings-file: 'integration-settings'
115 - integration-set-variables
116 - distribute-build-url:
117 path: '$KARAF_ARTIFACT/src/main/assembly'
123 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
124 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
126 -Djenkins -Dmerge -Dstream={stream}
127 -Pmanaged -Punmanaged
128 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
129 settings: integration-settings
131 global-settings: global-settings
132 global-settings-type: cfp
135 - integration-compare-distributions
136 # TODO: the output of the above command is not *friendly* for the reader because the most important info
137 # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
138 # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
147 deploy-unstable: false
150 - email-notification:
151 email-recipients: '{email-recipients}'
152 email-prefix: '[{project-name}]'
155 name: 'distribution-check-{stream}'
157 ######################
158 # Default parameters #
159 ######################
163 #####################
164 # Job Configuration #
165 #####################
167 # Like a {project}-distribution-check, but few steps less as there is no upstream project involved.
170 project-type: freestyle
171 node: 'centos7-builder-8c-8g'
173 jdk: '{java-version}'
176 - opendaylight-infra-properties:
177 build-days-to-keep: '{build-days-to-keep}'
180 - opendaylight-infra-parameters:
181 os-cloud: '{os-cloud}'
184 refspec: 'refs/heads/{branch}'
185 artifacts: '{archive-artifacts}'
186 - integration-distribution-stream:
188 - distribution-karaf-version:
189 karaf-version: '{karaf-version}'
194 - integration-gerrit-scm:
195 basedir: 'distribution'
196 refspec: '$GERRIT_REFSPEC'
200 - opendaylight-infra-wrappers:
201 # Distro-check jobs typically run within 10 - 30 minutes
202 # with 45 minutes being the occassional edge case.
203 # enforce a 60 minute limit to ensure stuck jobs get
205 # Double that as Karaf 3+4 may take longer.
209 - gerrit-trigger-patch-submitted:
210 gerrit-server-name: '{gerrit-server-name}'
216 - distribution-check-wipe
217 - distribution-check-build-project:
218 pom: 'distribution/pom.xml'
219 mvn-opts: '{opendaylight-infra-mvn-opts}'
220 mvn-version: '{mvn-version}'
221 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
222 - distribution-check-verify-groupid:
223 gerrit-project: 'integration'
224 - distribution-check-delete-snapshots
225 - distribution-check-configure-remotes
226 - distribution-check-repeat-project-build:
227 pom: 'distribution/pom.xml'
228 mvn-opts: '{opendaylight-infra-mvn-opts}'
229 mvn-version: '{mvn-version}'
230 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
231 - integration-set-variables
232 - distribution-check-warn-9191
233 - distribution-check-warn-9192
234 - integration-upload-distribution:
235 dist-pom: distribution/pom.xml
236 - distribution-check-bootup
239 - email-notification:
240 email-recipients: '{email-recipients}'
241 email-prefix: '[{project-name}]'
242 - integration-csit-archive-build
246 name: 'distribution-deploy-{stream}'
247 # Goal: Verify distribution starts with no issues when all features are loaded.
248 # Operation: This job deploys the controller installing odl-integration-all.
249 # FIXME: List required variables.
251 project-type: freestyle
252 node: centos7-builder-4c-4g
256 - opendaylight-infra-properties:
257 build-days-to-keep: '{build-days-to-keep}'
260 - opendaylight-infra-parameters:
261 os-cloud: '{os-cloud}'
264 refspec: 'refs/heads/{branch}'
265 artifacts: '{archive-artifacts}'
266 - integration-distribution-stream:
268 - integration-distribution-branch:
270 - integration-bundle-url:
271 bundle-url: '{bundle-url}'
272 - integration-jdk-version:
274 - distribution-karaf-version:
275 karaf-version: '{karaf-version}'
278 - opendaylight-infra-wrappers:
279 build-timeout: '{build-timeout}'
281 # TODO: Trigger from sanity (instead of weekly) when this job is stable for {stream}.
284 - distribution-deploy-verify
287 - email-notification:
288 email-recipients: '{email-recipients}'
289 email-prefix: '[{project-name}]'
290 - integration-csit-archive-build
294 name: 'distribution-offline-{stream}'
295 # Goal: Verify distribution can start with no internet connection.
296 # Operation: This job deploys the controller removing any external repository definition.
297 # FIXME: List required variables.
299 project-type: freestyle
300 node: centos7-builder-4c-4g
304 - opendaylight-infra-properties:
305 build-days-to-keep: '{build-days-to-keep}'
308 - opendaylight-infra-parameters:
309 os-cloud: '{os-cloud}'
312 refspec: 'refs/heads/{branch}'
313 artifacts: '{archive-artifacts}'
314 - integration-distribution-branch:
316 - integration-bundle-url:
317 bundle-url: '{bundle-url}'
318 - integration-jdk-version:
320 - distribution-karaf-version:
321 karaf-version: '{karaf-version}'
324 - opendaylight-infra-wrappers:
325 build-timeout: '{build-timeout}'
327 # TODO: Trigger from sanity (instead of weekly) when this job is stable for {stream}.
330 - distribution-deploy-offline
333 - email-notification:
334 email-recipients: '{email-recipients}'
335 email-prefix: '[{project-name}]'
336 - integration-csit-archive-build