X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fpackaging%2Fpackaging-macros.yaml;h=568f942239313c766fb585e7d2d004cceceda75f;hb=028e17cdbce266f5f2d6638da7042b2bbc7aef26;hp=5abfaf2ad2864a6acbe6386b5494d5307276df5d;hpb=59d6fd23efe03d8f8dee690a99f31826bbd1a65f;p=releng%2Fbuilder.git diff --git a/jjb/packaging/packaging-macros.yaml b/jjb/packaging/packaging-macros.yaml index 5abfaf2ad..568f94223 100644 --- a/jjb/packaging/packaging-macros.yaml +++ b/jjb/packaging/packaging-macros.yaml @@ -22,3 +22,26 @@ - shell: | # Remove old host key so future installs don't fail to SSH rm /home/jenkins/.ssh/known_hosts || echo "No known_hosts file" + +- builder: + name: install-test-uninstall-deb + builders: + - inject: + properties-content: 'PACKAGE=$WORKSPACE/packaging/packages/deb/opendaylight/*.deb' + # Install deps needed interactive Karaf shell tests + - shell: | + # Install expect to interact with Karaf shell + # Install nmap to check status of ODL's SSH port + sudo apt-get install -y expect nmap + - shell: !include-raw: test-deb-deps.sh + - shell: !include-raw: install-deb.sh + - shell: !include-raw: start-odl.sh + - shell: !include-raw: test-ports-nofeature.sh + - shell: !include-raw: test-karaf-oxygensafe.expect + # Disable this test until ODLPARENT-139 is fixed + # - shell: !include-raw: test-rest-ok.sh + - shell: !include-raw: stop-odl.sh + - shell: !include-raw: uninstall-deb.sh + - shell: | + # Remove old host key so future installs don't fail to SSH + rm /home/jenkins/.ssh/known_hosts || echo "No known_hosts file"