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: 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: 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: include-raw-install-rpm.sh
190 - shell: !include-raw: 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: include-raw-stop-odl.sh
206 name: 'packaging-test-rpm-upgrade-master'
208 node: centos7-java-builder-2c-4g
211 - opendaylight-infra-parameters:
212 os-cloud: '{os-cloud}'
215 refspec: 'refs/heads/{branch}'
216 artifacts: '{archive-artifacts}'
219 # yamllint disable-line rule:line-length
220 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/rpm/example_repo_configs/opendaylight-6-release.repo'
221 description: 'Link to .repo or .rpm file'
224 # yamllint disable-line rule:line-length
225 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/rpm/example_repo_configs/opendaylight-6-testing.repo'
226 description: 'Link to .repo or .rpm file'
229 - integration-gerrit-scm:
231 refspec: '$GERRIT_REFSPEC'
235 - opendaylight-infra-wrappers:
236 build-timeout: '{build-timeout}'
239 - shell: !include-raw: include-raw-install-rpm.sh
240 - shell: !include-raw: include-raw-start-odl.sh
242 # Install expect to interact with Karaf shell
243 sudo yum install -y expect
244 # Install nmap to check status of ODL's SSH port
245 sudo yum install -y nmap
246 - shell: !include-raw: include-raw-test-karaf.expect
247 - shell: !include-raw: include-raw-stop-odl.sh
248 - shell: !include-raw: include-raw-test-rpm-upgrade.sh
249 - shell: !include-raw: include-raw-start-odl.sh
250 - shell: !include-raw: include-raw-test-karaf.expect
251 - shell: !include-raw: include-raw-stop-odl.sh
258 name: 'packaging-test-deb-master'
260 node: ubuntu1604-mininet-ovs-25-2c-4g
263 - opendaylight-infra-parameters:
264 os-cloud: '{os-cloud}'
267 refspec: 'refs/heads/{branch}'
268 artifacts: '{archive-artifacts}'
271 default: 'ppa:odl-team/carbon'
272 description: 'Link to .deb package or name of PPA repo'
275 - integration-gerrit-scm:
277 refspec: '$GERRIT_REFSPEC'
281 - opendaylight-infra-wrappers:
282 build-timeout: '{build-timeout}'
285 - shell: !include-raw: include-raw-install-deb.sh
286 - shell: !include-raw: include-raw-start-odl.sh
288 # Install expect to interact with Karaf shell
289 sudo apt-get install -y expect
290 # Install nmap to check status of ODL's SSH port
291 sudo apt-get install -y nmap
292 - shell: !include-raw: include-raw-test-karaf.expect
293 - shell: !include-raw: include-raw-stop-odl.sh
300 name: 'packaging-build-deb-{stream}'
302 node: ubuntu1604-mininet-ovs-25-2c-4g
304 project-type: freestyle
311 - opendaylight-infra-properties:
312 build-days-to-keep: 7
315 - opendaylight-infra-parameters:
316 os-cloud: '{os-cloud}'
319 refspec: 'refs/heads/{branch}'
320 artifacts: '{archive-artifacts}'
321 - lf-infra-maven-parameters:
322 mvn-opts: '{mvn-opts}'
323 mvn-params: '{mvn-params}'
324 mvn-version: '{mvn-version}'
325 staging-profile-id: ''
329 description: 'OpenDaylight major (element) version number to build'
333 description: 'OpenDaylight minor (SR) version number to build'
337 description: 'OpenDaylight patch version to build'
341 description: 'Deb version for the given ODL major.minor.patch'
344 default: 'ba1f409c1a46efd068b16ced6ddc8b32a412b03a'
345 description: 'Version of ODL systemd unitfile to download and package in ODL .deb'
349 description: 'Elemental codename for the ODL release, including SR if applicable'
352 # yamllint disable-line rule:line-length
353 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'
354 description: 'URL to ODL tarball artifact to repackage into .deb'
358 description: Java dependency for the ODL release
361 default: '/usr/lib/jvm/java-8-openjdk-amd64/'
362 description: Set JAVA_HOME to openjdk8
365 default: 'Mon, 1 Aug 2016'
366 description: 'Date this .deb was defined'
369 default: '17:48:42 +0530'
370 description: 'Time this .deb was defined'
374 description: 'Name of person who defined .deb'
376 name: CHANGELOG_EMAIL
377 default: 'jenkins-donotreply@opendaylight.org'
378 description: 'Email of person who defined .deb'
381 - integration-gerrit-scm:
383 refspec: '$GERRIT_REFSPEC'
387 - opendaylight-infra-wrappers:
388 build-timeout: '{build-timeout}'
391 - shell: !include-raw: include-raw-build-deb.sh
392 - lf-infra-deploy-maven-file:
393 global-settings-file: 'global-settings'
394 settings-file: 'packaging-settings'
395 mvn-version: '{mvn-version}'
396 repo-id: 'opendaylight-{stream}-ubuntu-1604-x86_64-devel'
397 group-id: 'org.opendaylight.integration-packaging'
398 files-dir: '$WORKSPACE/upload_files'