Skip to content

Commit

Permalink
Merge pull request #18591 from spxtr/fix-find
Browse files Browse the repository at this point in the history
Fix workspace not empty on gce tests.
  • Loading branch information
spxtr committed Dec 11, 2015
2 parents 8535f13 + 12c038a commit 5885728
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

1 comment on commit 5885728

@k8s-teamcity-mesosphere

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests Build 9151 outcome was SUCCESS
Summary: Tests passed: 1, ignored: 205 Build time: 00:09:28

Please sign in to comment.