Merge "Modify archive-artifacts to allow for a list"
[ci-management.git] / jjb / vpp / include-raw-vpp-arm-build.sh
index c527b9e..94cc824 100644 (file)
@@ -8,6 +8,16 @@ OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\
 echo OS_ID: $OS_ID
 echo OS_VERSION_ID: $OS_VERSION_ID
 
+# do nothing but print the current slave hostname
+hostname
+export CCACHE_DIR=/tmp/ccache
+if [ -d $CCACHE_DIR ];then
+    echo $CCACHE_DIR exists
+    du -sk $CCACHE_DIR
+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
@@ -34,7 +44,6 @@ make UNATTENDED=yes -C build-root PLATFORM=vpp TAG=vpp sample-plugin-install
 make UNATTENDED=yes -C build-root PLATFORM=vpp TAG=vpp libmemif-install
 make UNATTENDED=yes pkg-deb
 
-
 if [ "x${VPP_REPO}" == "x1" ]; then
     if [ "x${REBASE_NEEDED}" == "x1" ]; then
         echo "This patch to vpp is based on an old point in the tree that is likely"