Pipe complexity report to reports dir.

This commit is contained in:
Ben Patterson
2015-03-02 11:27:31 -05:00
parent 471bd2c0a8
commit eb4f852916

View File

@@ -80,10 +80,10 @@ case "$TEST_SUITE" in
# Run quality task. Pass in the 'fail-under' percentage to diff-quality
paver run_quality -p 100
paver run_complexity > code_complexity.log || echo "Unable to calculate code complexity. Ignoring error."
mkdir -p reports
paver run_complexity > reports/code_complexity.log || echo "Unable to calculate code complexity. Ignoring error."
# Need to create an empty test result so the post-build
# action doesn't fail the build.
mkdir -p reports
cat > reports/quality.xml <<END
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="quality" tests="1" errors="0" failures="0" skip="0">