15 10 -1 -1 false false ZUUL_BRANCH master precise false false false false true #!/bin/bash -x if [[ -e compass-core ]]; then rm -rf compass-core fi git clone https://git.openstack.org/openstack/compass-core -b $ZUUL_BRANCH cd compass-core if [[ -z $ZUUL_PROJECT ]]; then echo "ZUUL_PROJECT is not set" elif [[ -z $ZUUL_BRANCH ]]; then echo "ZUUL_BRANCH is not set" elif [[ -z $ZUUL_REF ]]; then echo "ZUUL_REF is not set" elif [[ "$ZUUL_PROJECT" != "openstack/compass-core" ]]; then echo "$ZUUL_PROJECT is not openstack/compass-core" else git_repo=$ZUUL_URL/openstack/compass-core git_ref=$ZUUL_REF git_branch=$ZUUL_BRANCH git reset --hard remotes/origin/$git_branch git fetch $git_repo $git_ref git merge FETCH_HEAD git clean -x -f fi tox -epep8 local_log_server $LOG_PATH true true true