Merge pull request #14970 from gmarek/fix-jenkins

Stop existing Kubemark cluster before creating new one in Jenkins
This commit is contained in:
Marek Grabowski 2015-10-02 10:37:26 +02:00
commit 4ca6221de5
2 changed files with 2 additions and 1 deletions

View File

@ -814,6 +814,7 @@ fi
### Start Kubemark ###
if [[ "${USE_KUBEMARK:-}" == "true" ]]; then
export RUN_FROM_DISTRO=true
./test/kubemark/stop-kubemark.sh
./test/kubemark/start-kubemark.sh
./test/kubemark/run-scalability-test.sh && exitcode=0 || exitcode=$?
if [[ "${E2E_PUBLISH_GREEN_VERSION:-}" == "true" && ${exitcode} == 0 && -n ${githash:-} ]]; then

View File

@ -36,4 +36,4 @@ gcloud compute disks delete \
--project "${PROJECT}" \
--quiet \
--zone "${ZONE}" \
"${MASTER_NAME}"-pd
"${MASTER_NAME}"-pd || true