builders:
- shell: !include-raw: build-rpm.sh
- shell: !include-raw: test-rpm-deps.sh
+ - inject:
+ properties-content: 'URL=/home/$USER/rpmbuild/RPMS/noarch/*.rpm'
+ - shell: !include-raw: install-rpm.sh
+ - shell: !include-raw: start-odl.sh
+ - shell: |
+ # Install expect to interact with Karaf shell
+ sudo yum install -y expect
+ # Install nmap to check status of ODL's SSH port
+ sudo yum install -y nmap
+ - shell: !include-raw: test-karaf.expect
+ - shell: !include-raw: stop-odl.sh
- lf-infra-deploy-maven-file:
global-settings-file: 'global-settings'
settings-file: 'packaging-settings'
- inject:
properties-content: 'STREAM={stream}'
- shell: !include-raw: build-rpm-snap.sh
+ - shell: !include-raw: test-rpm-deps.sh
- lf-infra-deploy-maven-file:
global-settings-file: 'global-settings'
settings-file: 'packaging-settings'