4 project-name: packaging
7 - '{project-name}-verify-tox-master'
8 - 'packaging-build-rpm-{stream}'
9 - 'packaging-build-rpm-snap-{stream}'
10 - 'packaging-build-deb-{stream}'
11 - 'packaging-test-rpm-master'
12 - 'packaging-test-rpm-upgrade-master'
13 - 'packaging-test-deb-master'
15 project: 'integration/packaging'
25 name: 'packaging-build-rpm-{stream}'
27 node: centos7-java-builder-2c-4g
29 project-type: freestyle
36 - opendaylight-infra-properties:
40 - opendaylight-infra-parameters:
41 os-cloud: '{os-cloud}'
44 refspec: 'refs/heads/{branch}'
45 artifacts: '{archive-artifacts}'
46 - lf-infra-maven-parameters:
47 mvn-opts: '{mvn-opts}'
48 mvn-params: '{mvn-params}'
49 mvn-version: '{mvn-version}'
50 staging-profile-id: ''
53 # yamllint disable-line rule:line-length
54 default: 'https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.0-Carbon/distribution-karaf-0.6.0-Carbon.tar.gz'
55 description: 'URL to ODL tarball artifact to repackage into RPM'
59 description: 'Name of person who defined RPM'
62 default: 'jenkins-donotreply@opendaylight.org'
63 description: 'Email of person who defined RPM'
66 - integration-gerrit-scm:
68 refspec: '$GERRIT_REFSPEC'
72 - opendaylight-infra-wrappers:
73 build-timeout: '{build-timeout}'
76 - shell: !include-raw: build-rpm.sh
77 - lf-infra-deploy-maven-file:
78 global-settings-file: 'global-settings'
79 settings-file: 'packaging-settings'
81 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
82 group-id: 'org.opendaylight.integration-packaging'
83 files-dir: '$WORKSPACE/upload_files'
90 name: 'packaging-build-rpm-snap-{stream}'
92 node: centos7-java-builder-2c-4g
94 project-type: freestyle
101 - opendaylight-infra-properties:
102 build-days-to-keep: 7
105 - opendaylight-infra-parameters:
106 os-cloud: '{os-cloud}'
109 refspec: 'refs/heads/{branch}'
110 artifacts: '{archive-artifacts}'
111 - lf-infra-maven-parameters:
112 mvn-opts: '{mvn-opts}'
113 mvn-params: '{mvn-params}'
114 mvn-version: '{mvn-version}'
115 staging-profile-id: ''
119 description: 'OpenDaylight major (element) version number to build'
123 description: 'OpenDaylight minor (SR) version number to build'
127 description: 'Name of person who defined RPM'
129 name: CHANGELOG_EMAIL
130 default: 'jenkins-donotreply@opendaylight.org'
131 description: 'Email of person who defined RPM'
134 - integration-gerrit-scm:
136 refspec: '$GERRIT_REFSPEC'
140 - opendaylight-infra-wrappers:
141 build-timeout: '{build-timeout}'
144 - shell: !include-raw: build-rpm-snap.sh
145 - lf-infra-deploy-maven-file:
146 global-settings-file: 'global-settings'
147 settings-file: 'packaging-settings'
149 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
150 group-id: 'org.opendaylight.integration-packaging'
151 files-dir: '$WORKSPACE/upload_files'
161 name: 'packaging-test-rpm-master'
163 node: centos7-java-builder-2c-4g
166 - opendaylight-infra-parameters:
167 os-cloud: '{os-cloud}'
170 refspec: 'refs/heads/{branch}'
171 artifacts: '{archive-artifacts}'
174 # yamllint disable-line rule:line-length
175 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/rpm/example_repo_configs/opendaylight-60-release.repo'
176 description: 'Link to .repo or .rpm file'
179 - integration-gerrit-scm:
181 refspec: '$GERRIT_REFSPEC'
185 - opendaylight-infra-wrappers:
186 build-timeout: '{build-timeout}'
189 - shell: !include-raw: install-rpm.sh
190 - shell: !include-raw: start-odl.sh
192 # Install expect to interact with Karaf shell
193 sudo yum install -y expect
194 # Install nmap to check status of ODL's SSH port
195 sudo yum install -y nmap
196 - shell: !include-raw: include-raw-test-karaf.expect
197 - shell: !include-raw: stop-odl.sh
200 # TODO: Remove the archive publisher
201 # small data should be stored on logs.opendaylight.org
202 # large data should be stored on nexus.opendaylight.org
212 name: 'packaging-test-rpm-upgrade-master'
214 node: centos7-java-builder-2c-4g
217 - opendaylight-infra-parameters:
218 os-cloud: '{os-cloud}'
221 refspec: 'refs/heads/{branch}'
222 artifacts: '{archive-artifacts}'
225 # yamllint disable-line rule:line-length
226 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/rpm/example_repo_configs/opendaylight-6-release.repo'
227 description: 'Link to .repo or .rpm file'
230 # yamllint disable-line rule:line-length
231 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/rpm/example_repo_configs/opendaylight-6-testing.repo'
232 description: 'Link to .repo or .rpm file'
235 - integration-gerrit-scm:
237 refspec: '$GERRIT_REFSPEC'
241 - opendaylight-infra-wrappers:
242 build-timeout: '{build-timeout}'
245 - shell: !include-raw: install-rpm.sh
246 - shell: !include-raw: start-odl.sh
248 # Install expect to interact with Karaf shell
249 sudo yum install -y expect
250 # Install nmap to check status of ODL's SSH port
251 sudo yum install -y nmap
252 - shell: !include-raw: include-raw-test-karaf.expect
253 - shell: !include-raw: stop-odl.sh
254 - shell: !include-raw: test-rpm-upgrade.sh
255 - shell: !include-raw: start-odl.sh
256 - shell: !include-raw: include-raw-test-karaf.expect
257 - shell: !include-raw: stop-odl.sh
264 name: 'packaging-test-deb-master'
266 node: ubuntu1604-mininet-ovs-25-2c-4g
269 - opendaylight-infra-parameters:
270 os-cloud: '{os-cloud}'
273 refspec: 'refs/heads/{branch}'
274 artifacts: '{archive-artifacts}'
277 default: 'ppa:odl-team/carbon'
278 description: 'Link to .deb package or name of PPA repo'
281 - integration-gerrit-scm:
283 refspec: '$GERRIT_REFSPEC'
287 - opendaylight-infra-wrappers:
288 build-timeout: '{build-timeout}'
291 - shell: !include-raw: install-deb.sh
292 - shell: !include-raw: start-odl.sh
294 # Install expect to interact with Karaf shell
295 sudo apt-get install -y expect
296 # Install nmap to check status of ODL's SSH port
297 sudo apt-get install -y nmap
298 - shell: !include-raw: include-raw-test-karaf.expect
299 - shell: !include-raw: stop-odl.sh
306 name: 'packaging-build-deb-{stream}'
308 node: ubuntu1604-mininet-ovs-25-2c-4g
310 project-type: freestyle
317 - opendaylight-infra-properties:
318 build-days-to-keep: 7
321 - opendaylight-infra-parameters:
322 os-cloud: '{os-cloud}'
325 refspec: 'refs/heads/{branch}'
326 artifacts: '{archive-artifacts}'
327 - lf-infra-maven-parameters:
328 mvn-opts: '{mvn-opts}'
329 mvn-params: '{mvn-params}'
330 mvn-version: '{mvn-version}'
331 staging-profile-id: ''
335 description: 'OpenDaylight major (element) version number to build'
339 description: 'OpenDaylight minor (SR) version number to build'
343 description: 'OpenDaylight patch version to build'
347 description: 'Deb version for the given ODL major.minor.patch'
350 default: 'ba1f409c1a46efd068b16ced6ddc8b32a412b03a'
351 description: 'Version of ODL systemd unitfile to download and package in ODL .deb'
355 description: 'Elemental codename for the ODL release, including SR if applicable'
358 # yamllint disable-line rule:line-length
359 default: 'https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.5.3-Boron-SR3/distribution-karaf-0.5.3-Boron-SR3.tar.gz'
360 description: 'URL to ODL tarball artifact to repackage into .deb'
364 description: Java dependency for the ODL release
367 default: '/usr/lib/jvm/java-8-openjdk-amd64/'
368 description: Set JAVA_HOME to openjdk8
371 default: 'Mon, 1 Aug 2016'
372 description: 'Date this .deb was defined'
375 default: '17:48:42 +0530'
376 description: 'Time this .deb was defined'
380 description: 'Name of person who defined .deb'
382 name: CHANGELOG_EMAIL
383 default: 'jenkins-donotreply@opendaylight.org'
384 description: 'Email of person who defined .deb'
387 - integration-gerrit-scm:
389 refspec: '$GERRIT_REFSPEC'
393 - opendaylight-infra-wrappers:
394 build-timeout: '{build-timeout}'
397 - shell: !include-raw: build-deb.sh
398 - lf-infra-deploy-maven-file:
399 global-settings-file: 'global-settings'
400 settings-file: 'packaging-settings'
401 mvn-version: '{mvn-version}'
402 repo-id: 'opendaylight-{stream}-ubuntu-1604-x86_64-devel'
403 group-id: 'org.opendaylight.integration-packaging'
404 files-dir: '$WORKSPACE/upload_files'