X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fvpp%2Finclude-raw-vpp-build.sh;h=a47fc62ece25d76fb037dc23f605e23ee5004d07;hb=950174aa2abacf0e6ffc098a1ac49373e4a5db87;hp=872a9de19e5845b497622c4d1c2297522dd0395f;hpb=cf7546ba0195acb070274c92268f3089e9af731d;p=ci-management.git diff --git a/jjb/vpp/include-raw-vpp-build.sh b/jjb/vpp/include-raw-vpp-build.sh index 872a9de19..a47fc62ec 100644 --- a/jjb/vpp/include-raw-vpp-build.sh +++ b/jjb/vpp/include-raw-vpp-build.sh @@ -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 @@ -11,6 +11,23 @@ else echo $CCACHE_DIR does not exist. This must be a new slave. fi +echo "cat /etc/bootstrap.sha" +if [ -f /etc/bootstrap.sha ];then + cat /etc/bootstrap.sha +else + echo "Cannot find cat /etc/bootstrap.sha" +fi + +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 # parent before 30d41ff need to be rebased @@ -33,7 +50,11 @@ fi # vpp build system that can occur on Ubuntu 14.04 when a user may # have both java-7 and java-8 installed. if [ ${OS} == ubuntu1404 ];then - sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64 + sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64 || echo 'ignoring failure' fi build-root/vagrant/build.sh + +echo "*******************************************************************" +echo "* VPP BUILD SUCCESSFULLY COMPLETED" +echo "*******************************************************************"