contrib/mesos/ci: name FETCH_HEAD as CONFORMANCE_BRANCH

This commit is contained in:
Dr. Stefan Schimanski 2015-11-30 12:23:56 +01:00
parent 94d3d8f027
commit e7203816f1

View File

@ -36,6 +36,7 @@ if [ -n "${CONFORMANCE_BRANCH}" ]; then
# create a CONFORMANCE_BRANCH clone in a subdirectory
TEST_CMD="
git fetch https://github.com/kubernetes/kubernetes --tags -q ${CONFORMANCE_BRANCH} &&
git branch -f ${CONFORMANCE_BRANCH} FETCH_HEAD &&
git clone -s -b ${CONFORMANCE_BRANCH} . conformance &&
cd conformance && make all && ${TEST_CMD}"
fi