2 # basic build script example
4 # do nothing but print the current slave hostname
6 export CCACHE_DIR=/tmp/ccache
7 if [ -d $CCACHE_DIR ];then
8 echo $CCACHE_DIR exists
11 echo $CCACHE_DIR does not exist. This must be a new slave.
14 SUPPORTED="ubuntu1404 ubuntu1604 centos7"
15 declare -A DIST_TARGET
17 [ubuntu1404]=install-deb
18 [ubuntu1604]=install-deb
21 if [[ ! ${SUPPORTED[*]} =~ ${OS} ]]
23 echo "Unrecognized OS: ${OS}. Please edit: https://gerrit.fd.io/r/gitweb?p=ci-management.git;a=blob;f=jjb/vpp/include-raw-vpp-build.sh;hb=HEAD"
28 make PLATFORM=vpp V=0 TAG=vpp ${DIST_TARGET[${OS}]}