Skip to content

Commit

Permalink
Fix workspace not empty on gce tests.
Browse files Browse the repository at this point in the history
We added a gcloud command earlier in e2e.sh which creates a .config
folder in the workspace. Ignore it.
  • Loading branch information
spxtr committed Dec 11, 2015
1 parent 8535f13 commit 12c038a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/jenkins/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ if [[ "${E2E_UP,,}" == "true" || "${JENKINS_FORCE_GET_TARS:-}" =~ ^[yY]$ ]]; the
# Otherwise, we want a completely empty directory.
if [[ "${JENKINS_FORCE_GET_TARS:-}" =~ ^[yY]$ ]]; then
rm -rf kubernetes*
elif [[ $(find . | wc -l) != 1 ]]; then
elif [[ $(find . -not -path './.config*' | wc -l) != 1 ]]; then
echo $PWD not empty, bailing!
find .
exit 1
Expand Down

0 comments on commit 12c038a

Please sign in to comment.