From bb9c7f2dd9d1b262e06d47577597649af9706660 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Mon, 21 Dec 2015 17:51:57 +0000 Subject: [PATCH] Delete all the .coverage files, including the combined .coverage --- jenkins.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jenkins.sh b/jenkins.sh index 66c161429..bb0ae361a 100755 --- a/jenkins.sh +++ b/jenkins.sh @@ -16,7 +16,7 @@ export DUMP_COVERAGE_COMMAND="coverage help" # UNSTABLE or FAILURE this build. export PEP8SUFFIX="--output-file=violations.flake8.log || echo flake8 finished with status code \$?" -rm .coverage.* || echo "No files to remove" +rm .coverage* || echo "No coverage files to remove" tox @@ -76,6 +76,7 @@ cd .. cp sytest/.coverage.* . # Combine the coverage reports +echo "Combining:" .coverage.* $TOX_BIN/python -m coverage combine # Output coverage to coverage.xml $TOX_BIN/coverage xml -o coverage.xml