Commit eb4f8529 by Ben Patterson

Pipe complexity report to reports dir.

parent 471bd2c0
...@@ -80,10 +80,10 @@ case "$TEST_SUITE" in ...@@ -80,10 +80,10 @@ case "$TEST_SUITE" in
# Run quality task. Pass in the 'fail-under' percentage to diff-quality # Run quality task. Pass in the 'fail-under' percentage to diff-quality
paver run_quality -p 100 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 # Need to create an empty test result so the post-build
# action doesn't fail the build. # action doesn't fail the build.
mkdir -p reports
cat > reports/quality.xml <<END cat > reports/quality.xml <<END
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<testsuite name="quality" tests="1" errors="0" failures="0" skip="0"> <testsuite name="quality" tests="1" errors="0" failures="0" skip="0">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment