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'
24 # common parameters required for 'lf-infra-deploy-maven-file' builder
25 group-id: 'org.opendaylight.integration-packaging'
26 upload-files-dir: '$WORKSPACE/upload_files'
27 maven-repo-url: '$NEXUS_URL/content/repositories/$REPO_ID'
30 name: 'packaging-build-rpm-{stream}'
32 node: centos7-java-builder-2c-4g
34 project-type: freestyle
41 - opendaylight-infra-properties:
45 - opendaylight-infra-parameters:
46 os-cloud: '{os-cloud}'
49 refspec: 'refs/heads/{branch}'
50 artifacts: '{archive-artifacts}'
51 - lf-infra-maven-parameters:
52 mvn-opts: '{mvn-opts}'
53 mvn-params: '{mvn-params}'
54 mvn-version: '{mvn-version}'
55 staging-profile-id: ''
58 # yamllint disable-line rule:line-length
59 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'
60 description: 'URL to ODL tarball artifact to repackage into RPM'
64 description: 'Name of person who defined RPM'
67 default: 'jenkins-donotreply@opendaylight.org'
68 description: 'Email of person who defined RPM'
71 - integration-gerrit-scm:
73 refspec: '$GERRIT_REFSPEC'
77 - opendaylight-infra-wrappers:
78 build-timeout: '{build-timeout}'
81 - shell: !include-raw: build-rpm.sh
82 - lf-infra-deploy-maven-file:
83 global-settings-file: 'global-settings'
84 settings-file: 'packaging-settings'
85 mvn-version: '{mvn-version}'
86 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
87 group-id: '{group-id}'
88 upload-files-dir: '{upload-files-dir}'
89 maven-repo-url: '{maven-repo-url}'
96 name: 'packaging-build-rpm-snap-{stream}'
98 node: centos7-java-builder-2c-4g
100 project-type: freestyle
107 - opendaylight-infra-properties:
108 build-days-to-keep: 7
111 - opendaylight-infra-parameters:
112 os-cloud: '{os-cloud}'
115 refspec: 'refs/heads/{branch}'
116 artifacts: '{archive-artifacts}'
117 - lf-infra-maven-parameters:
118 mvn-opts: '{mvn-opts}'
119 mvn-params: '{mvn-params}'
120 mvn-version: '{mvn-version}'
121 staging-profile-id: ''
125 description: 'Name of person who defined RPM'
127 name: CHANGELOG_EMAIL
128 default: 'jenkins-donotreply@opendaylight.org'
129 description: 'Email of person who defined RPM'
132 - integration-gerrit-scm:
134 refspec: '$GERRIT_REFSPEC'
138 - opendaylight-infra-wrappers:
139 build-timeout: '{build-timeout}'
142 - shell: !include-raw: build-rpm-snap.sh
143 - lf-infra-deploy-maven-file:
144 global-settings-file: 'global-settings'
145 settings-file: 'packaging-settings'
146 mvn-version: '{mvn-version}'
147 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
148 group-id: '{group-id}'
149 upload-files-dir: '{upload-files-dir}'
150 maven-repo-url: '{maven-repo-url}'
160 name: 'packaging-test-rpm-master'
162 node: centos7-java-builder-2c-4g
165 - opendaylight-infra-parameters:
166 os-cloud: '{os-cloud}'
169 refspec: 'refs/heads/{branch}'
170 artifacts: '{archive-artifacts}'
173 # yamllint disable-line rule:line-length
174 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-60-release.repo'
175 description: 'Link to .repo or .rpm file'
178 - integration-gerrit-scm:
180 refspec: '$GERRIT_REFSPEC'
184 - opendaylight-infra-wrappers:
185 build-timeout: '{build-timeout}'
188 - shell: !include-raw: install-rpm.sh
189 - shell: !include-raw: start-odl.sh
191 # Install expect to interact with Karaf shell
192 sudo yum install -y expect
193 # Install nmap to check status of ODL's SSH port
194 sudo yum install -y nmap
195 - shell: !include-raw: include-raw-test-karaf.expect
196 - shell: !include-raw: stop-odl.sh
199 # TODO: Remove the archive publisher
200 # small data should be stored on logs.opendaylight.org
201 # large data should be stored on nexus.opendaylight.org
211 name: 'packaging-test-rpm-upgrade-master'
213 node: centos7-java-builder-2c-4g
216 - opendaylight-infra-parameters:
217 os-cloud: '{os-cloud}'
220 refspec: 'refs/heads/{branch}'
221 artifacts: '{archive-artifacts}'
224 # yamllint disable-line rule:line-length
225 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-release.repo'
226 description: 'Link to .repo or .rpm file'
229 # yamllint disable-line rule:line-length
230 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-testing.repo'
231 description: 'Link to .repo or .rpm file'
234 - integration-gerrit-scm:
236 refspec: '$GERRIT_REFSPEC'
240 - opendaylight-infra-wrappers:
241 build-timeout: '{build-timeout}'
244 - shell: !include-raw: install-rpm.sh
245 - shell: !include-raw: start-odl.sh
247 # Install expect to interact with Karaf shell
248 sudo yum install -y expect
249 # Install nmap to check status of ODL's SSH port
250 sudo yum install -y nmap
251 - shell: !include-raw: include-raw-test-karaf.expect
252 - shell: !include-raw: stop-odl.sh
253 - shell: !include-raw: test-rpm-upgrade.sh
254 - shell: !include-raw: start-odl.sh
255 - shell: !include-raw: include-raw-test-karaf.expect
256 - shell: !include-raw: stop-odl.sh
263 name: 'packaging-test-deb-master'
265 node: ubuntu1604-mininet-ovs-25-2c-4g
268 - opendaylight-infra-parameters:
269 os-cloud: '{os-cloud}'
272 refspec: 'refs/heads/{branch}'
273 artifacts: '{archive-artifacts}'
276 default: 'ppa:odl-team/carbon'
277 description: 'Link to .deb package or name of PPA repo'
280 - integration-gerrit-scm:
282 refspec: '$GERRIT_REFSPEC'
286 - opendaylight-infra-wrappers:
287 build-timeout: '{build-timeout}'
290 - shell: !include-raw: install-deb.sh
291 - shell: !include-raw: start-odl.sh
293 # Install expect to interact with Karaf shell
294 sudo apt-get install -y expect
295 # Install nmap to check status of ODL's SSH port
296 sudo apt-get install -y nmap
297 - shell: !include-raw: include-raw-test-karaf.expect
298 - shell: !include-raw: stop-odl.sh
305 name: 'packaging-build-deb-{stream}'
307 node: ubuntu1604-mininet-ovs-25-2c-4g
309 project-type: freestyle
316 - opendaylight-infra-properties:
317 build-days-to-keep: 7
320 - opendaylight-infra-parameters:
321 os-cloud: '{os-cloud}'
324 refspec: 'refs/heads/{branch}'
325 artifacts: '{archive-artifacts}'
326 - lf-infra-maven-parameters:
327 mvn-opts: '{mvn-opts}'
328 mvn-params: '{mvn-params}'
329 mvn-version: '{mvn-version}'
330 staging-profile-id: ''
333 # yamllint disable-line rule:line-length
334 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'
335 description: 'URL to ODL tarball artifact to repackage into .deb'
339 description: 'Name of person who defined .deb'
341 name: CHANGELOG_EMAIL
342 default: 'jenkins-donotreply@opendaylight.org'
343 description: 'Email of person who defined .deb'
346 - integration-gerrit-scm:
348 refspec: '$GERRIT_REFSPEC'
352 - opendaylight-infra-wrappers:
353 build-timeout: '{build-timeout}'
356 - shell: !include-raw: build-deb.sh
357 - lf-infra-deploy-maven-file:
358 global-settings-file: 'global-settings'
359 settings-file: 'packaging-settings'
360 mvn-version: '{mvn-version}'
361 repo-id: 'opendaylight-{stream}-ubuntu-1604-x86_64-devel'
362 group-id: '{group-id}'
363 upload-files-dir: '{upload-files-dir}'
364 maven-repo-url: '{maven-repo-url}'