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: install-rpm.sh
15 - shell: !include-raw: start-odl.sh
16 - shell: !include-raw: test-ports-nofeature.sh
17 - shell: !include-raw: test-karaf-oxygensafe.expect
18 # Disable this test until ODLPARENT-139 is fixed
19 # - shell: !include-raw: test-rest-ok.sh
20 - shell: !include-raw: stop-odl.sh
21 - shell: !include-raw: uninstall-rpm.sh
23 # Remove old host key so future installs don't fail to SSH
24 rm /home/jenkins/.ssh/known_hosts || echo "No known_hosts file"
27 name: install-test-uninstall-deb
30 properties-content: 'PACKAGE=$WORKSPACE/packaging/packages/deb/opendaylight/*.deb'
31 # Install deps needed interactive Karaf shell tests
33 # Install expect to interact with Karaf shell
34 # Install nmap to check status of ODL's SSH port
35 sudo apt-get install -y expect nmap
36 - shell: !include-raw: test-deb-deps.sh
37 - shell: !include-raw: install-deb.sh
38 - shell: !include-raw: start-odl.sh
39 - shell: !include-raw: test-ports-nofeature.sh
40 - shell: !include-raw: test-karaf-oxygensafe.expect
41 # Disable this test until ODLPARENT-139 is fixed
42 # - shell: !include-raw: test-rest-ok.sh
43 - shell: !include-raw: stop-odl.sh
44 - shell: !include-raw: uninstall-deb.sh
46 # Remove old host key so future installs don't fail to SSH
47 rm /home/jenkins/.ssh/known_hosts || echo "No known_hosts file"