3 name: distribution-jobs
6 name: 'distribution-verify-{stream}'
8 project-type: freestyle
9 node: centos7-java-builder-2c-8g
14 - opendaylight-infra-properties:
15 build-days-to-keep: '{build-days-to-keep}'
18 - opendaylight-infra-parameters:
19 os-cloud: '{os-cloud}'
22 refspec: 'refs/heads/{branch}'
23 artifacts: '{archive-artifacts}'
24 - integration-patch-refspec:
25 branch: '$GERRIT_REFSPEC'
29 refspec: '$PATCHREFSPEC'
30 choosing-strategy: 'gerrit'
33 - opendaylight-infra-wrappers:
34 build-timeout: '{build-timeout}'
37 - gerrit-trigger-patch-submitted:
38 server: '{server-name}'
44 - wipe-org-opendaylight-repo
45 - provide-maven-settings:
46 global-settings-file: 'global-settings'
47 settings-file: 'integration-settings'
52 clean install dependency:tree -DoutputFile=dependency_tree.txt
55 {opendaylight-infra-parallel-mvn-opts}
57 - '-Xmx1024m -XX:MaxPermSize=256m'
58 settings: integration-settings
60 global-settings: global-settings
61 global-settings-type: cfp
68 email-recipients: '{email-recipients}'
69 email-prefix: '[int/dist]'
72 name: 'distribution-merge-{stream}'
74 # Need to keep jobs that deploy to Nexus at end of build as Maven
75 # projects. Maybe reconsider this once upstream moves deploy to a
77 # https://issues.apache.org/jira/browse/MNG-5666
84 - opendaylight-infra-properties:
85 build-days-to-keep: '{build-days-to-keep}'
88 - opendaylight-infra-parameters:
89 os-cloud: '{os-cloud}'
92 refspec: 'refs/heads/{branch}'
93 artifacts: '{archive-artifacts}'
94 - distribution-karaf-version:
95 karaf-version: '{karaf-version}'
100 choosing-strategy: 'default'
103 - opendaylight-infra-wrappers:
104 build-timeout: '{build-timeout}'
107 - gerrit-trigger-patch-merged:
108 server-name: '{server-name}'
109 name: 'integration/distribution'
113 - wipe-org-opendaylight-repo
114 - jacoco-nojava-workaround
115 - provide-maven-settings:
116 global-settings-file: 'global-settings'
117 settings-file: 'integration-settings'
118 - integration-set-variables
119 - distribute-build-url:
120 path: '$KARAF_ARTIFACT/src/main/assembly'
126 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
127 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
129 -Djenkins -Dmerge -Dstream={stream}
130 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
131 settings: 'integration-settings'
133 global-settings: 'global-settings'
134 global-settings-type: cfp
138 condition-kind: file-exists
139 condition-filename: deploy-site.xml
140 condition-basedir: workspace
142 # The strategy here is intentional to run Maven site:deploy twice
143 # once using regular pom.xml to produce a staged-site which is
144 # then used by deploy-site.xml to push to Nexus. This is a
145 # workaround to Maven Site's default linking code which creates
146 # incorrect URLs for sites due to auto-detection assuming your
147 # project is configured in a certain way which ODL is not.
150 maven-version: 'mvn33'
152 goals: 'site:deploy -V -B -Dstream={stream}'
155 settings: 'integration-settings'
157 global-settings: 'global-settings'
158 global-settings-type: cfp
160 maven-version: 'mvn33'
162 goals: 'site:deploy -V -B -Dstream={stream}'
165 settings: 'integration-settings'
167 global-settings: 'global-settings'
168 global-settings-type: cfp
169 - integration-compare-distributions
170 # TODO: the output of the above command is not *friendly* for the reader because the most important info
171 # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
172 # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
181 deploy-unstable: false
184 - email-notification:
185 email-recipients: '{email-recipients}'
186 email-prefix: '[int/dist]'
189 name: 'distribution-check-{stream}'
190 # Like a {project}-distribution-check, but few steps less as there is no upstream project involved.
193 project-type: freestyle
199 - opendaylight-infra-properties:
200 build-days-to-keep: '{build-days-to-keep}'
203 - opendaylight-infra-parameters:
204 os-cloud: '{os-cloud}'
207 refspec: 'refs/heads/{branch}'
208 artifacts: '{archive-artifacts}'
209 - distribution-karaf-version:
210 karaf-version: '{karaf-version}'
215 - integration-gerrit-scm:
216 basedir: 'distribution'
217 refspec: '$GERRIT_REFSPEC'
221 - opendaylight-infra-wrappers:
222 # Distro-check jobs typically run within 10 - 30 minutes
223 # with 45 minutes being the occassional edge case.
224 # enforce a 60 minute limit to ensure stuck jobs get
226 # Double that as Karaf 3+4 may take longer.
230 - gerrit-trigger-patch-submitted:
231 server: '{server-name}'
237 - distribution-check-wipe
238 - distribution-check-build-project:
239 pom: 'distribution/pom.xml'
240 mvn-opts: '{opendaylight-infra-parallel-mvn-opts}'
241 - distribution-check-verify-groupid:
242 gerrit-project: 'integration'
243 - distribution-check-delete-snapshots
244 - distribution-check-configure-remotes
245 - distribution-check-repeat-project-build:
246 pom: 'distribution/pom.xml'
247 mvn-opts: '{opendaylight-infra-parallel-mvn-opts}'
248 - integration-upload-distribution:
249 dist-pom: distribution/pom.xml
250 - integration-distribution-check
253 - email-notification:
254 email-recipients: '{email-recipients}'
255 email-prefix: '[{project-name}]'
256 - integration-csit-archive-build
260 name: 'distribution-deploy-{stream}'
261 # Goal: Verify distribution starts with no issues when all features are loaded.
262 # Operation: This job deploys the controller installing odl-integration-all.
263 # FIXME: List required variables.
265 project-type: freestyle
266 node: centos7-java-builder-2c-8g
270 - opendaylight-infra-properties:
271 build-days-to-keep: '{build-days-to-keep}'
274 - opendaylight-infra-parameters:
275 os-cloud: '{os-cloud}'
278 refspec: 'refs/heads/{branch}'
279 artifacts: '{archive-artifacts}'
280 - integration-distribution-branch:
282 - integration-bundle-url:
283 bundle-url: '{bundle-url}'
284 - integration-jdk-version:
286 - distribution-karaf-version:
287 karaf-version: '{karaf-version}'
290 - opendaylight-infra-wrappers:
291 build-timeout: '{build-timeout}'
293 # TODO: Trigger from sanity (instead of weekly) when this job is stable for {stream}.
296 - distribution-deploy-verify
299 - email-notification:
300 email-recipients: '{email-recipients}'
301 email-prefix: '[int/dist]'
302 - integration-csit-archive-build
306 name: 'distribution-offline-{stream}'
307 # Goal: Verify distribution can start with no internet connection.
308 # Operation: This job deploys the controller removing any external repository definition.
309 # FIXME: List required variables.
311 project-type: freestyle
312 node: centos7-java-builder-2c-8g
316 - opendaylight-infra-properties:
317 build-days-to-keep: '{build-days-to-keep}'
320 - opendaylight-infra-parameters:
321 os-cloud: '{os-cloud}'
324 refspec: 'refs/heads/{branch}'
325 artifacts: '{archive-artifacts}'
326 - integration-distribution-branch:
328 - integration-bundle-url:
329 bundle-url: '{bundle-url}'
330 - integration-jdk-version:
332 - distribution-karaf-version:
333 karaf-version: '{karaf-version}'
336 - opendaylight-infra-wrappers:
337 build-timeout: '{build-timeout}'
339 # TODO: Trigger from sanity (instead of weekly) when this job is stable for {stream}.
342 - distribution-deploy-offline
345 - email-notification:
346 email-recipients: '{email-recipients}'
347 email-prefix: '[int/dist]'
348 - integration-csit-archive-build