[SPARK-7721][INFRA][FOLLOW-UP] Remove cloned coverage repo after posting HTMLs

## What changes were proposed in this pull request?

This PR proposes to remove cloned `pyspark-coverage-site` repo.

it doesn't looks a problem in PR builder but somehow it's problematic in `spark-master-test-sbt-hadoop-2.7`.

## How was this patch tested?

Jenkins.

Closes #23729 from HyukjinKwon/followup-coverage.

Lead-authored-by: Hyukjin Kwon <gurwls223@apache.org>
Co-authored-by: shane knapp <incomplete@gmail.com>
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
This commit is contained in:
Hyukjin Kwon 2019-06-25 09:18:32 +09:00 committed by HyukjinKwon
parent 67042e90e7
commit 1d36b892ab

View file

@ -469,6 +469,8 @@ def post_python_tests_results():
run_cmd(["git", "push", "-f", "origin", "gh-pages"])
finally:
os.chdir("..")
# 10. Remove the cloned repository.
shutil.rmtree("pyspark-coverage-site")
def run_python_packaging_tests():