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}'
93 server-name: '{server-name}'
95 - comment-added-contains-event:
96 comment-contains-value: 'build-rpm-direct'
98 - project-compare-type: ANT
99 project-pattern: '{project}'
101 - branch-compare-type: ANT
102 branch-pattern: '**/{branch}'
105 pattern: 'pacakges/**'
112 name: 'packaging-build-rpm-snap-{stream}'
114 node: centos7-java-builder-2c-4g
116 project-type: freestyle
123 - opendaylight-infra-properties:
124 build-days-to-keep: 7
127 - opendaylight-infra-parameters:
128 os-cloud: '{os-cloud}'
131 refspec: 'refs/heads/{branch}'
132 artifacts: '{archive-artifacts}'
133 - lf-infra-maven-parameters:
134 mvn-opts: '{mvn-opts}'
135 mvn-params: '{mvn-params}'
136 mvn-version: '{mvn-version}'
137 staging-profile-id: ''
141 description: 'Name of person who defined RPM'
143 name: CHANGELOG_EMAIL
144 default: 'jenkins-donotreply@opendaylight.org'
145 description: 'Email of person who defined RPM'
148 - integration-gerrit-scm:
150 refspec: '$GERRIT_REFSPEC'
154 - opendaylight-infra-wrappers:
155 build-timeout: '{build-timeout}'
158 - shell: !include-raw: build-rpm-snap.sh
159 - lf-infra-deploy-maven-file:
160 global-settings-file: 'global-settings'
161 settings-file: 'packaging-settings'
162 mvn-version: '{mvn-version}'
163 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
164 group-id: '{group-id}'
165 upload-files-dir: '{upload-files-dir}'
166 maven-repo-url: '{maven-repo-url}'
171 server-name: '{server-name}'
173 - comment-added-contains-event:
174 comment-contains-value: 'build-rpm-snap'
176 - project-compare-type: ANT
177 project-pattern: '{project}'
179 - branch-compare-type: ANT
180 branch-pattern: '**/{branch}'
183 pattern: 'pacakges/**'
190 name: 'packaging-test-rpm-master'
192 node: centos7-java-builder-2c-4g
195 - opendaylight-infra-parameters:
196 os-cloud: '{os-cloud}'
199 refspec: 'refs/heads/{branch}'
200 artifacts: '{archive-artifacts}'
203 # yamllint disable-line rule:line-length
204 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-60-release.repo'
205 description: 'Link to .repo or .rpm file'
208 - integration-gerrit-scm:
210 refspec: '$GERRIT_REFSPEC'
214 - opendaylight-infra-wrappers:
215 build-timeout: '{build-timeout}'
218 - shell: !include-raw: install-rpm.sh
219 - shell: !include-raw: start-odl.sh
221 # Install expect to interact with Karaf shell
222 sudo yum install -y expect
223 # Install nmap to check status of ODL's SSH port
224 sudo yum install -y nmap
225 - shell: !include-raw: test-karaf.expect
226 - shell: !include-raw: stop-odl.sh
229 # TODO: Remove the archive publisher
230 # small data should be stored on logs.opendaylight.org
231 # large data should be stored on nexus.opendaylight.org
241 name: 'packaging-test-rpm-upgrade-master'
243 node: centos7-java-builder-2c-4g
246 - opendaylight-infra-parameters:
247 os-cloud: '{os-cloud}'
250 refspec: 'refs/heads/{branch}'
251 artifacts: '{archive-artifacts}'
254 # yamllint disable-line rule:line-length
255 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-release.repo'
256 description: 'Link to .repo or .rpm file'
259 # yamllint disable-line rule:line-length
260 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-testing.repo'
261 description: 'Link to .repo or .rpm file'
264 - integration-gerrit-scm:
266 refspec: '$GERRIT_REFSPEC'
270 - opendaylight-infra-wrappers:
271 build-timeout: '{build-timeout}'
274 - shell: !include-raw: install-rpm.sh
275 - shell: !include-raw: start-odl.sh
277 # Install expect to interact with Karaf shell
278 sudo yum install -y expect
279 # Install nmap to check status of ODL's SSH port
280 sudo yum install -y nmap
281 - shell: !include-raw: test-karaf.expect
282 - shell: !include-raw: stop-odl.sh
283 - shell: !include-raw: test-rpm-upgrade.sh
284 - shell: !include-raw: start-odl.sh
285 - shell: !include-raw: test-karaf.expect
286 - shell: !include-raw: stop-odl.sh
293 name: 'packaging-test-deb-master'
295 node: ubuntu1604-mininet-ovs-25-2c-4g
298 - opendaylight-infra-parameters:
299 os-cloud: '{os-cloud}'
302 refspec: 'refs/heads/{branch}'
303 artifacts: '{archive-artifacts}'
306 default: 'ppa:odl-team/carbon'
307 description: 'Link to .deb package or name of PPA repo'
310 - integration-gerrit-scm:
312 refspec: '$GERRIT_REFSPEC'
316 - opendaylight-infra-wrappers:
317 build-timeout: '{build-timeout}'
320 - shell: !include-raw: install-deb.sh
321 - shell: !include-raw: start-odl.sh
323 # Install expect to interact with Karaf shell
324 sudo apt-get install -y expect
325 # Install nmap to check status of ODL's SSH port
326 sudo apt-get install -y nmap
327 - shell: !include-raw: test-karaf.expect
328 - shell: !include-raw: stop-odl.sh
335 name: 'packaging-build-deb-{stream}'
337 node: ubuntu1604-mininet-ovs-25-2c-4g
339 project-type: freestyle
346 - opendaylight-infra-properties:
347 build-days-to-keep: 7
350 - opendaylight-infra-parameters:
351 os-cloud: '{os-cloud}'
354 refspec: 'refs/heads/{branch}'
355 artifacts: '{archive-artifacts}'
356 - lf-infra-maven-parameters:
357 mvn-opts: '{mvn-opts}'
358 mvn-params: '{mvn-params}'
359 mvn-version: '{mvn-version}'
360 staging-profile-id: ''
363 # yamllint disable-line rule:line-length
364 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'
365 description: 'URL to ODL tarball artifact to repackage into .deb'
369 description: 'Name of person who defined .deb'
371 name: CHANGELOG_EMAIL
372 default: 'jenkins-donotreply@opendaylight.org'
373 description: 'Email of person who defined .deb'
376 - integration-gerrit-scm:
378 refspec: '$GERRIT_REFSPEC'
382 - opendaylight-infra-wrappers:
383 build-timeout: '{build-timeout}'
386 - shell: !include-raw: build-deb.sh
387 - lf-infra-deploy-maven-file:
388 global-settings-file: 'global-settings'
389 settings-file: 'packaging-settings'
390 mvn-version: '{mvn-version}'
391 repo-id: 'opendaylight-{stream}-ubuntu-1604-x86_64-devel'
392 group-id: '{group-id}'
393 upload-files-dir: '{upload-files-dir}'
394 maven-repo-url: '{maven-repo-url}'
398 server-name: '{server-name}'
400 - comment-added-contains-event:
401 comment-contains-value: 'build-deb'
403 - project-compare-type: ANT
404 project-pattern: '{project}'
406 - branch-compare-type: ANT
407 branch-pattern: '**/{branch}'
410 pattern: 'pacakges/**'