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 maven-repo-url: '$NEXUS_URL/content/repositories/$REPO_ID'
83 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
84 group-id: 'org.opendaylight.integration-packaging'
85 upload-files-dir: '$WORKSPACE/upload_files'
92 name: 'packaging-build-rpm-snap-{stream}'
94 node: centos7-java-builder-2c-4g
96 project-type: freestyle
103 - opendaylight-infra-properties:
104 build-days-to-keep: 7
107 - opendaylight-infra-parameters:
108 os-cloud: '{os-cloud}'
111 refspec: 'refs/heads/{branch}'
112 artifacts: '{archive-artifacts}'
113 - lf-infra-maven-parameters:
114 mvn-opts: '{mvn-opts}'
115 mvn-params: '{mvn-params}'
116 mvn-version: '{mvn-version}'
117 staging-profile-id: ''
121 description: 'OpenDaylight major (element) version number to build'
125 description: 'OpenDaylight minor (SR) version number to build'
129 description: 'Name of person who defined RPM'
131 name: CHANGELOG_EMAIL
132 default: 'jenkins-donotreply@opendaylight.org'
133 description: 'Email of person who defined RPM'
136 - integration-gerrit-scm:
138 refspec: '$GERRIT_REFSPEC'
142 - opendaylight-infra-wrappers:
143 build-timeout: '{build-timeout}'
146 - shell: !include-raw: build-rpm-snap.sh
147 - lf-infra-deploy-maven-file:
148 global-settings-file: 'global-settings'
149 settings-file: 'packaging-settings'
151 maven-repo-url: '$NEXUS_URL/content/repositories/$REPO_ID'
152 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
153 group-id: 'org.opendaylight.integration-packaging'
154 upload-files-dir: '$WORKSPACE/upload_files'
164 name: 'packaging-test-rpm-master'
166 node: centos7-java-builder-2c-4g
169 - opendaylight-infra-parameters:
170 os-cloud: '{os-cloud}'
173 refspec: 'refs/heads/{branch}'
174 artifacts: '{archive-artifacts}'
177 # yamllint disable-line rule:line-length
178 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/rpm/example_repo_configs/opendaylight-60-release.repo'
179 description: 'Link to .repo or .rpm file'
182 - integration-gerrit-scm:
184 refspec: '$GERRIT_REFSPEC'
188 - opendaylight-infra-wrappers:
189 build-timeout: '{build-timeout}'
192 - shell: !include-raw: install-rpm.sh
193 - shell: !include-raw: start-odl.sh
195 # Install expect to interact with Karaf shell
196 sudo yum install -y expect
197 # Install nmap to check status of ODL's SSH port
198 sudo yum install -y nmap
199 - shell: !include-raw: include-raw-test-karaf.expect
200 - shell: !include-raw: stop-odl.sh
203 # TODO: Remove the archive publisher
204 # small data should be stored on logs.opendaylight.org
205 # large data should be stored on nexus.opendaylight.org
215 name: 'packaging-test-rpm-upgrade-master'
217 node: centos7-java-builder-2c-4g
220 - opendaylight-infra-parameters:
221 os-cloud: '{os-cloud}'
224 refspec: 'refs/heads/{branch}'
225 artifacts: '{archive-artifacts}'
228 # yamllint disable-line rule:line-length
229 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/rpm/example_repo_configs/opendaylight-6-release.repo'
230 description: 'Link to .repo or .rpm file'
233 # yamllint disable-line rule:line-length
234 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/rpm/example_repo_configs/opendaylight-6-testing.repo'
235 description: 'Link to .repo or .rpm file'
238 - integration-gerrit-scm:
240 refspec: '$GERRIT_REFSPEC'
244 - opendaylight-infra-wrappers:
245 build-timeout: '{build-timeout}'
248 - shell: !include-raw: install-rpm.sh
249 - shell: !include-raw: start-odl.sh
251 # Install expect to interact with Karaf shell
252 sudo yum install -y expect
253 # Install nmap to check status of ODL's SSH port
254 sudo yum install -y nmap
255 - shell: !include-raw: include-raw-test-karaf.expect
256 - shell: !include-raw: stop-odl.sh
257 - shell: !include-raw: test-rpm-upgrade.sh
258 - shell: !include-raw: start-odl.sh
259 - shell: !include-raw: include-raw-test-karaf.expect
260 - shell: !include-raw: stop-odl.sh
267 name: 'packaging-test-deb-master'
269 node: ubuntu1604-mininet-ovs-25-2c-4g
272 - opendaylight-infra-parameters:
273 os-cloud: '{os-cloud}'
276 refspec: 'refs/heads/{branch}'
277 artifacts: '{archive-artifacts}'
280 default: 'ppa:odl-team/carbon'
281 description: 'Link to .deb package or name of PPA repo'
284 - integration-gerrit-scm:
286 refspec: '$GERRIT_REFSPEC'
290 - opendaylight-infra-wrappers:
291 build-timeout: '{build-timeout}'
294 - shell: !include-raw: install-deb.sh
295 - shell: !include-raw: start-odl.sh
297 # Install expect to interact with Karaf shell
298 sudo apt-get install -y expect
299 # Install nmap to check status of ODL's SSH port
300 sudo apt-get install -y nmap
301 - shell: !include-raw: include-raw-test-karaf.expect
302 - shell: !include-raw: stop-odl.sh
309 name: 'packaging-build-deb-{stream}'
311 node: ubuntu1604-mininet-ovs-25-2c-4g
313 project-type: freestyle
320 - opendaylight-infra-properties:
321 build-days-to-keep: 7
324 - opendaylight-infra-parameters:
325 os-cloud: '{os-cloud}'
328 refspec: 'refs/heads/{branch}'
329 artifacts: '{archive-artifacts}'
330 - lf-infra-maven-parameters:
331 mvn-opts: '{mvn-opts}'
332 mvn-params: '{mvn-params}'
333 mvn-version: '{mvn-version}'
334 staging-profile-id: ''
338 description: 'OpenDaylight major (element) version number to build'
342 description: 'OpenDaylight minor (SR) version number to build'
346 description: 'OpenDaylight patch version to build'
350 description: 'Deb version for the given ODL major.minor.patch'
353 default: 'ba1f409c1a46efd068b16ced6ddc8b32a412b03a'
354 description: 'Version of ODL systemd unitfile to download and package in ODL .deb'
358 description: 'Elemental codename for the ODL release, including SR if applicable'
361 # yamllint disable-line rule:line-length
362 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'
363 description: 'URL to ODL tarball artifact to repackage into .deb'
367 description: Java dependency for the ODL release
370 default: '/usr/lib/jvm/java-8-openjdk-amd64/'
371 description: Set JAVA_HOME to openjdk8
374 default: 'Mon, 1 Aug 2016'
375 description: 'Date this .deb was defined'
378 default: '17:48:42 +0530'
379 description: 'Time this .deb was defined'
383 description: 'Name of person who defined .deb'
385 name: CHANGELOG_EMAIL
386 default: 'jenkins-donotreply@opendaylight.org'
387 description: 'Email of person who defined .deb'
390 - integration-gerrit-scm:
392 refspec: '$GERRIT_REFSPEC'
396 - opendaylight-infra-wrappers:
397 build-timeout: '{build-timeout}'
400 - shell: !include-raw: build-deb.sh
401 - lf-infra-deploy-maven-file:
402 global-settings-file: 'global-settings'
403 settings-file: 'packaging-settings'
404 mvn-version: '{mvn-version}'
405 maven-repo-url: '$NEXUS_URL/content/repositories/$REPO_ID'
406 repo-id: 'opendaylight-{stream}-ubuntu-1604-x86_64-devel'
407 group-id: 'org.opendaylight.integration-packaging'
408 upload-files-dir: '$WORKSPACE/upload_files'