Fix Kubemark on Jenkins

pull/6/head
gmarek 2015-10-01 14:46:35 +02:00
parent cff6dcedd7
commit a1e0ce8972
1 changed files with 2 additions and 0 deletions

View File

@ -752,6 +752,7 @@ fi
### Start Kubemark ### ### Start Kubemark ###
if [[ "${USE_KUBEMARK:-}" == "true" ]]; then if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
export RUN_FROM_DISTRO=true
./test/kubemark/start-kubemark.sh ./test/kubemark/start-kubemark.sh
./test/kubemark/run-scalability-test.sh && exitcode=0 || exitcode=$? ./test/kubemark/run-scalability-test.sh && exitcode=0 || exitcode=$?
if [[ "${E2E_PUBLISH_GREEN_VERSION:-}" == "true" && ${exitcode} == 0 && -n ${githash:-} ]]; then if [[ "${E2E_PUBLISH_GREEN_VERSION:-}" == "true" && ${exitcode} == 0 && -n ${githash:-} ]]; then
@ -760,6 +761,7 @@ if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
gsutil cp ${WORKSPACE}/githash.txt gs://kubernetes-release/ci/latest-green.txt gsutil cp ${WORKSPACE}/githash.txt gs://kubernetes-release/ci/latest-green.txt
fi fi
./test/kubemark/stop-kubemark.sh ./test/kubemark/stop-kubemark.sh
unset RUN_FROM_DISTRO
fi fi
# TODO(zml): We have a bunch of legacy Jenkins configs that are # TODO(zml): We have a bunch of legacy Jenkins configs that are