deb_dpdk: add new 17.11.x branch
[ci-management.git] / jjb / hc2vpp / include-raw-hc2vpp-csit-verify.sh
index 9cfc2c5..227df6f 100644 (file)
@@ -2,16 +2,8 @@
 set -xeu -o pipefail
 
 # create HC .deb packages
-if [ "${OS}" == "ubuntu1404" ]; then
-
-    ./packaging/deb/trusty/debuild.sh
-    cp ./packaging/deb/trusty/*.deb ${WORKSPACE}/csit
-
-elif [ "${OS}" == "ubuntu1604" ]; then
-
-    ./packaging/deb/xenial/debuild.sh
-    cp ./packaging/deb/xenial/*.deb ${WORKSPACE}/csit
-fi
+./packaging/deb/xenial/debuild.sh
+cp ./packaging/deb/xenial/*.deb ${WORKSPACE}/csit
 
 cd ${WORKSPACE}/csit
 # execute csit bootstrap script if it exists
@@ -23,7 +15,7 @@ else
     # make sure that bootstrap.sh is executable
     chmod +x bootstrap-hc2vpp-verify.sh
     # run the script
-    ./bootstrap-hc2vpp-verify.sh
+    ./bootstrap-hc2vpp-verify.sh ${OS}
 fi
 
 # vim: ts=4 ts=4 sts=4 et :
\ No newline at end of file