We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecb9da8 commit 653372bCopy full SHA for 653372b
runAcceptanceTests.sh
@@ -104,13 +104,18 @@ cf d -f $ZQ_APP_NAME
104
cd $root/zipkin-server
105
mkdir -p build
106
READY_FOR_TESTS="no"
107
+DOWNLOAD_ZIPKIN="${DOWNLOAD_ZIPKIN:-true}"
108
-if [ -f "build/zipkin.jar" ]; then
109
- echo "Zipkin was downloaded - will continue"
+pushd build
110
+if [[ "${DOWNLOAD_ZIPKIN}" == "true" ]]
111
+ echo -e "\nDownloading Zipkin Server"
112
+ rm -rf zipkin.jar || echo "No zipkin.jar to remove"
113
+ curl -sSL https://zipkin.io/quickstart.sh | bash -s
114
else
- curl -sSL https://zipkin.io/quickstart.sh | bash -s
- mv zipkin.jar build/zipkin.jar
115
+ echo "Won't download zipkin - the [DOWNLOAD_ZIPKIN] switch is set to false"
116
fi
117
+popd
118
+
119
cf push && READY_FOR_TESTS="yes"
120
121
if [[ "${READY_FOR_TESTS}" == "no" ]] ; then
0 commit comments