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: 'Name of person who defined RPM'
123 name: CHANGELOG_EMAIL
124 default: 'jenkins-donotreply@opendaylight.org'
125 description: 'Email of person who defined RPM'
128 - integration-gerrit-scm:
130 refspec: '$GERRIT_REFSPEC'
134 - opendaylight-infra-wrappers:
135 build-timeout: '{build-timeout}'
138 - shell: !include-raw: build-rpm-snap.sh
139 - lf-infra-deploy-maven-file:
140 global-settings-file: 'global-settings'
141 settings-file: 'packaging-settings'
143 maven-repo-url: '$NEXUS_URL/content/repositories/$REPO_ID'
144 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
145 group-id: 'org.opendaylight.integration-packaging'
146 upload-files-dir: '$WORKSPACE/upload_files'
156 name: 'packaging-test-rpm-master'
158 node: centos7-java-builder-2c-4g
161 - opendaylight-infra-parameters:
162 os-cloud: '{os-cloud}'
165 refspec: 'refs/heads/{branch}'
166 artifacts: '{archive-artifacts}'
169 # yamllint disable-line rule:line-length
170 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-60-release.repo'
171 description: 'Link to .repo or .rpm file'
174 - integration-gerrit-scm:
176 refspec: '$GERRIT_REFSPEC'
180 - opendaylight-infra-wrappers:
181 build-timeout: '{build-timeout}'
184 - shell: !include-raw: install-rpm.sh
185 - shell: !include-raw: start-odl.sh
187 # Install expect to interact with Karaf shell
188 sudo yum install -y expect
189 # Install nmap to check status of ODL's SSH port
190 sudo yum install -y nmap
191 - shell: !include-raw: include-raw-test-karaf.expect
192 - shell: !include-raw: stop-odl.sh
195 # TODO: Remove the archive publisher
196 # small data should be stored on logs.opendaylight.org
197 # large data should be stored on nexus.opendaylight.org
207 name: 'packaging-test-rpm-upgrade-master'
209 node: centos7-java-builder-2c-4g
212 - opendaylight-infra-parameters:
213 os-cloud: '{os-cloud}'
216 refspec: 'refs/heads/{branch}'
217 artifacts: '{archive-artifacts}'
220 # yamllint disable-line rule:line-length
221 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-release.repo'
222 description: 'Link to .repo or .rpm file'
225 # yamllint disable-line rule:line-length
226 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-testing.repo'
227 description: 'Link to .repo or .rpm file'
230 - integration-gerrit-scm:
232 refspec: '$GERRIT_REFSPEC'
236 - opendaylight-infra-wrappers:
237 build-timeout: '{build-timeout}'
240 - shell: !include-raw: install-rpm.sh
241 - shell: !include-raw: start-odl.sh
243 # Install expect to interact with Karaf shell
244 sudo yum install -y expect
245 # Install nmap to check status of ODL's SSH port
246 sudo yum install -y nmap
247 - shell: !include-raw: include-raw-test-karaf.expect
248 - shell: !include-raw: stop-odl.sh
249 - shell: !include-raw: test-rpm-upgrade.sh
250 - shell: !include-raw: start-odl.sh
251 - shell: !include-raw: include-raw-test-karaf.expect
252 - shell: !include-raw: stop-odl.sh
259 name: 'packaging-test-deb-master'
261 node: ubuntu1604-mininet-ovs-25-2c-4g
264 - opendaylight-infra-parameters:
265 os-cloud: '{os-cloud}'
268 refspec: 'refs/heads/{branch}'
269 artifacts: '{archive-artifacts}'
272 default: 'ppa:odl-team/carbon'
273 description: 'Link to .deb package or name of PPA repo'
276 - integration-gerrit-scm:
278 refspec: '$GERRIT_REFSPEC'
282 - opendaylight-infra-wrappers:
283 build-timeout: '{build-timeout}'
286 - shell: !include-raw: install-deb.sh
287 - shell: !include-raw: start-odl.sh
289 # Install expect to interact with Karaf shell
290 sudo apt-get install -y expect
291 # Install nmap to check status of ODL's SSH port
292 sudo apt-get install -y nmap
293 - shell: !include-raw: include-raw-test-karaf.expect
294 - shell: !include-raw: stop-odl.sh
301 name: 'packaging-build-deb-{stream}'
303 node: ubuntu1604-mininet-ovs-25-2c-4g
305 project-type: freestyle
312 - opendaylight-infra-properties:
313 build-days-to-keep: 7
316 - opendaylight-infra-parameters:
317 os-cloud: '{os-cloud}'
320 refspec: 'refs/heads/{branch}'
321 artifacts: '{archive-artifacts}'
322 - lf-infra-maven-parameters:
323 mvn-opts: '{mvn-opts}'
324 mvn-params: '{mvn-params}'
325 mvn-version: '{mvn-version}'
326 staging-profile-id: ''
329 # yamllint disable-line rule:line-length
330 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'
331 description: 'URL to ODL tarball artifact to repackage into .deb'
335 description: 'Name of person who defined .deb'
337 name: CHANGELOG_EMAIL
338 default: 'jenkins-donotreply@opendaylight.org'
339 description: 'Email of person who defined .deb'
342 - integration-gerrit-scm:
344 refspec: '$GERRIT_REFSPEC'
348 - opendaylight-infra-wrappers:
349 build-timeout: '{build-timeout}'
352 - shell: !include-raw: build-deb.sh
353 - lf-infra-deploy-maven-file:
354 global-settings-file: 'global-settings'
355 settings-file: 'packaging-settings'
356 mvn-version: '{mvn-version}'
357 maven-repo-url: '$NEXUS_URL/content/repositories/$REPO_ID'
358 repo-id: 'opendaylight-{stream}-ubuntu-1604-x86_64-devel'
359 group-id: 'org.opendaylight.integration-packaging'
360 upload-files-dir: '$WORKSPACE/upload_files'