Revert "Create script to automate deployment"
[ci-management.git] / jjb / vpp / include-raw-vpp-build.sh
index 84a7712..61c06ba 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 # basic build script example
-
+set -xe -o pipefail
 # do nothing but print the current slave hostname
 hostname
 export CCACHE_DIR=/tmp/ccache
@@ -18,8 +18,15 @@ else
     echo "Cannot find cat /etc/bootstrap.sha"
 fi
 
-echo "shasum of this script: ${0}"
-shasum $0
+echo "cat /etc/bootstrap-functions.sha"
+if [ -f /etc/bootstrap-functions.sha ];then
+    cat /etc/bootstrap-functions.sha
+else
+    echo "Cannot find cat /etc/bootstrap-functions.sha"
+fi
+
+echo "sha1sum of this script: ${0}"
+sha1sum $0
 
 # Check to make sure the patch doesn't need to be rebased
 # Since there was a discontinuity, patches with a
@@ -47,3 +54,7 @@ if [ ${OS} == ubuntu1404 ];then
 fi
 
 build-root/vagrant/build.sh
+
+echo "*******************************************************************"
+echo "* VPP BUILD SUCCESSFULLY COMPLETED"
+echo "*******************************************************************"