5 #Checking python-pip software status. If failed, reinstall it.
14 #Check command result, if failed, reinstall the pip
15 if [ ${CHECK_PIP_SUDO} -ne 0 ] || [ ${CHECK_PIP_USER} -ne 0 ]; then
17 sudo python -m pip uninstall -y pip
18 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
19 sudo python get-pip.py pip
27 echo "begin build compass"
28 git clone https://github.com/opnfv/compass4nfv.git
32 COMPASS_WORK_DIR=$WORKSPACE/../compass-work
34 mkdir -p $COMPASS_WORK_DIR
35 ln -s $COMPASS_WORK_DIR work
37 sudo docker rm -f `sudo docker ps | grep compass | cut -f1 -d' '` || true
39 curl -s http://people.linaro.org/~yibo.cai/compass/compass4nfv-arm64-fixup.sh | bash || true