15
-1
-1
-1
false
false
ZUUL_BRANCH
master
precise
false
false
false
false
H 02 * * 2-6
true
#!/bin/bash -x
if [[ -e compass-core ]]; then
rm -rf compass-core
fi
git clone https://git.openstack.org/stackforge/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" != "stackforge/compass-core" ]]; then
echo "$ZUUL_PROJECT is not stackforge/compass-core"
else
git_repo=$ZUUL_URL/stackforge/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 -ecover
local_log_server
$JOB_NAME/$BUILD_ID
false
false
true
$JOB_NAME/$BUILD_ID/cover
compass-core/cover/**
false
false
true
dev@syscompass.org
$PROJECT_DEFAULT_SUBJECT
$PROJECT_DEFAULT_CONTENT
false
false
false
true
default
$DEFAULT_SUBJECT
$DEFAULT_CONTENT
Coverage Reports:
http://12.234.32.44/logs/$PROJECT_NAME/$BUILD_ID/cover