1 # Integration/Packaging macros
4 name: install-test-uninstall-rpm
7 properties-content: 'URL=/home/$USER/rpmbuild/RPMS/noarch/*.rpm'
8 # Install deps needed interactive Karaf shell tests
10 # Install expect to interact with Karaf shell
11 # Install nmap to check status of ODL's SSH port
12 sudo yum install -y expect nmap
13 - shell: !include-raw: test-rpm-deps.sh
14 - shell: !include-raw-escape: install-rpm.sh
15 - shell: !include-raw: start-odl.sh
16 - shell: !include-raw: test-ports-nofeature.sh
17 - shell: !include-raw: test-karaf.expect
18 - shell: !include-raw: test-rest-ok.sh
19 - shell: !include-raw: stop-odl.sh
20 - shell: !include-raw: uninstall-rpm.sh
22 # Remove old host key so future installs don't fail to SSH
23 rm /home/jenkins/.ssh/known_hosts