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'
26 name: 'packaging-build-rpm-{stream}'
28 node: centos7-java-builder-2c-4g
30 project-type: freestyle
37 - opendaylight-infra-properties:
41 - opendaylight-infra-parameters:
42 os-cloud: '{os-cloud}'
45 refspec: 'refs/heads/{branch}'
46 artifacts: '{archive-artifacts}'
47 - lf-infra-maven-parameters:
48 mvn-opts: '{mvn-opts}'
49 mvn-params: '{mvn-params}'
50 mvn-version: '{mvn-version}'
51 staging-profile-id: ''
54 # yamllint disable-line rule:line-length
55 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'
56 description: 'URL to ODL tarball artifact to repackage into RPM'
60 description: 'Name of person who defined RPM'
63 default: 'jenkins-donotreply@opendaylight.org'
64 description: 'Email of person who defined RPM'
67 - integration-gerrit-scm:
69 refspec: '$GERRIT_REFSPEC'
73 - opendaylight-infra-wrappers:
74 build-timeout: '{build-timeout}'
77 - shell: !include-raw: build-rpm.sh
78 - lf-infra-deploy-maven-file:
79 global-settings-file: 'global-settings'
80 settings-file: 'packaging-settings'
82 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
83 group-id: 'org.opendaylight.integration-packaging'
84 files-dir: '$WORKSPACE/upload_files'
91 name: 'packaging-build-rpm-snap-{stream}'
93 node: centos7-java-builder-2c-4g
95 project-type: freestyle
102 - opendaylight-infra-properties:
103 build-days-to-keep: 7
106 - opendaylight-infra-parameters:
107 os-cloud: '{os-cloud}'
110 refspec: 'refs/heads/{branch}'
111 artifacts: '{archive-artifacts}'
112 - lf-infra-maven-parameters:
113 mvn-opts: '{mvn-opts}'
114 mvn-params: '{mvn-params}'
115 mvn-version: '{mvn-version}'
116 staging-profile-id: ''
120 description: 'OpenDaylight major (element) version number to build'
124 description: 'OpenDaylight minor (SR) version number to build'
128 description: 'Name of person who defined RPM'
130 name: CHANGELOG_EMAIL
131 default: 'jenkins-donotreply@opendaylight.org'
132 description: 'Email of person who defined RPM'
135 - integration-gerrit-scm:
137 refspec: '$GERRIT_REFSPEC'
141 - opendaylight-infra-wrappers:
142 build-timeout: '{build-timeout}'
145 - shell: !include-raw: build-rpm-snap.sh
146 - lf-infra-deploy-maven-file:
147 global-settings-file: 'global-settings'
148 settings-file: 'packaging-settings'
150 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
151 group-id: 'org.opendaylight.integration-packaging'
152 files-dir: '$WORKSPACE/upload_files'
162 name: 'packaging-test-rpm-master'
164 node: centos7-java-builder-2c-4g
167 - opendaylight-infra-parameters:
168 os-cloud: '{os-cloud}'
171 refspec: 'refs/heads/{branch}'
172 artifacts: '{archive-artifacts}'
175 # yamllint disable-line rule:line-length
176 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/rpm/example_repo_configs/opendaylight-60-release.repo'
177 description: 'Link to .repo or .rpm file'
180 - integration-gerrit-scm:
182 refspec: '$GERRIT_REFSPEC'
186 - opendaylight-infra-wrappers:
187 build-timeout: '{build-timeout}'
190 - shell: !include-raw: install-rpm.sh
191 - shell: !include-raw: start-odl.sh
193 # Install expect to interact with Karaf shell
194 sudo yum install -y expect
195 # Install nmap to check status of ODL's SSH port
196 sudo yum install -y nmap
197 - shell: !include-raw: include-raw-test-karaf.expect
198 - shell: !include-raw: stop-odl.sh
201 # TODO: Remove the archive publisher
202 # small data should be stored on logs.opendaylight.org
203 # large data should be stored on nexus.opendaylight.org
213 name: 'packaging-test-rpm-upgrade-master'
215 node: centos7-java-builder-2c-4g
218 - opendaylight-infra-parameters:
219 os-cloud: '{os-cloud}'
222 refspec: 'refs/heads/{branch}'
223 artifacts: '{archive-artifacts}'
226 # yamllint disable-line rule:line-length
227 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/rpm/example_repo_configs/opendaylight-6-release.repo'
228 description: 'Link to .repo or .rpm file'
231 # yamllint disable-line rule:line-length
232 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/rpm/example_repo_configs/opendaylight-6-testing.repo'
233 description: 'Link to .repo or .rpm file'
236 - integration-gerrit-scm:
238 refspec: '$GERRIT_REFSPEC'
242 - opendaylight-infra-wrappers:
243 build-timeout: '{build-timeout}'
246 - shell: !include-raw: install-rpm.sh
247 - shell: !include-raw: start-odl.sh
249 # Install expect to interact with Karaf shell
250 sudo yum install -y expect
251 # Install nmap to check status of ODL's SSH port
252 sudo yum install -y nmap
253 - shell: !include-raw: include-raw-test-karaf.expect
254 - shell: !include-raw: stop-odl.sh
255 - shell: !include-raw: test-rpm-upgrade.sh
256 - shell: !include-raw: start-odl.sh
257 - shell: !include-raw: include-raw-test-karaf.expect
258 - shell: !include-raw: stop-odl.sh
265 name: 'packaging-test-deb-master'
267 node: ubuntu1604-mininet-ovs-25-2c-4g
270 - opendaylight-infra-parameters:
271 os-cloud: '{os-cloud}'
274 refspec: 'refs/heads/{branch}'
275 artifacts: '{archive-artifacts}'
278 default: 'ppa:odl-team/carbon'
279 description: 'Link to .deb package or name of PPA repo'
282 - integration-gerrit-scm:
284 refspec: '$GERRIT_REFSPEC'
288 - opendaylight-infra-wrappers:
289 build-timeout: '{build-timeout}'
292 - shell: !include-raw: install-deb.sh
293 - shell: !include-raw: start-odl.sh
295 # Install expect to interact with Karaf shell
296 sudo apt-get install -y expect
297 # Install nmap to check status of ODL's SSH port
298 sudo apt-get install -y nmap
299 - shell: !include-raw: include-raw-test-karaf.expect
300 - shell: !include-raw: stop-odl.sh
307 name: 'packaging-build-deb-{stream}'
309 node: ubuntu1604-mininet-ovs-25-2c-4g
311 project-type: freestyle
318 - opendaylight-infra-properties:
319 build-days-to-keep: 7
322 - opendaylight-infra-parameters:
323 os-cloud: '{os-cloud}'
326 refspec: 'refs/heads/{branch}'
327 artifacts: '{archive-artifacts}'
328 - lf-infra-maven-parameters:
329 mvn-opts: '{mvn-opts}'
330 mvn-params: '{mvn-params}'
331 mvn-version: '{mvn-version}'
332 staging-profile-id: ''
336 description: 'OpenDaylight major (element) version number to build'
340 description: 'OpenDaylight minor (SR) version number to build'
344 description: 'OpenDaylight patch version to build'
348 description: 'Deb version for the given ODL major.minor.patch'
351 default: 'ba1f409c1a46efd068b16ced6ddc8b32a412b03a'
352 description: 'Version of ODL systemd unitfile to download and package in ODL .deb'
356 description: 'Elemental codename for the ODL release, including SR if applicable'
359 # yamllint disable-line rule:line-length
360 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'
361 description: 'URL to ODL tarball artifact to repackage into .deb'
365 description: Java dependency for the ODL release
368 default: '/usr/lib/jvm/java-8-openjdk-amd64/'
369 description: Set JAVA_HOME to openjdk8
372 default: 'Mon, 1 Aug 2016'
373 description: 'Date this .deb was defined'
376 default: '17:48:42 +0530'
377 description: 'Time this .deb was defined'
381 description: 'Name of person who defined .deb'
383 name: CHANGELOG_EMAIL
384 default: 'jenkins-donotreply@opendaylight.org'
385 description: 'Email of person who defined .deb'
388 - integration-gerrit-scm:
390 refspec: '$GERRIT_REFSPEC'
394 - opendaylight-infra-wrappers:
395 build-timeout: '{build-timeout}'
398 - shell: !include-raw: build-deb.sh
399 - lf-infra-deploy-maven-file:
400 global-settings-file: 'global-settings'
401 settings-file: 'packaging-settings'
402 mvn-version: '{mvn-version}'
403 repo-id: 'opendaylight-{stream}-ubuntu-1604-x86_64-devel'
404 group-id: 'org.opendaylight.integration-packaging'
405 files-dir: '$WORKSPACE/upload_files'