From 321a10a2d527aab3ebd4f3b2fb93e5c801557336 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Thu, 4 Feb 2016 22:57:52 +0000 Subject: [PATCH] mount teamcity git workspace if running in TC --- contrib/mesos/ci/run-with-cluster.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/mesos/ci/run-with-cluster.sh b/contrib/mesos/ci/run-with-cluster.sh index ab7211d3e25..719fe502525 100755 --- a/contrib/mesos/ci/run-with-cluster.sh +++ b/contrib/mesos/ci/run-with-cluster.sh @@ -67,6 +67,7 @@ docker run \ -v "${MESOS_DOCKER_WORK_DIR}/mesosslave2/mesos:${MESOS_DOCKER_WORK_DIR}/mesosslave2/mesos" \ -v "${MESOS_DOCKER_WORK_DIR}/overlay:${MESOS_DOCKER_WORK_DIR}/overlay" \ -v "${MESOS_DOCKER_WORK_DIR}/reports:${MESOS_DOCKER_WORK_DIR}/reports" \ + $(test -d /teamcity/system/git && echo "-v /teamcity/system/git:/teamcity/system/git" || true) \ -e "MESOS_DOCKER_WORK_DIR=${MESOS_DOCKER_WORK_DIR}" \ -e "MESOS_DOCKER_IMAGE_DIR=/var/tmp/kubernetes" \ -e "MESOS_DOCKER_OVERLAY_DIR=${MESOS_DOCKER_WORK_DIR}/overlay" \