Skip to content

Commit

Permalink
Fix quoting of TeamCity Service Message
Browse files Browse the repository at this point in the history
  • Loading branch information
jquast committed Nov 25, 2014
1 parent c4c3f55 commit e300fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/teamcity-coverage-report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ total_no_lines=$(awk '/TOTAL/{printf("%s",$2)}' < "${report_file}")
total_no_misses=$(awk '/TOTAL/{printf("%s",$3)}' < "${report_file}")
total_no_covered=$((${total_no_lines} - ${total_no_misses}))
echo "##teamcity[buildStatisticValue key='<CodeCoverageAbsLTotal>' value='""<${total_no_lines}"">']"
echo "##teamcity[buildStatisticValue key='<CodeCoverageAbsLCovered>' value='""<${total_no_covered}""'>']"
echo "##teamcity[buildStatisticValue key='<CodeCoverageAbsLCovered>' value='""<${total_no_covered}"">']"

# Display for human consumption and remove ascii file.
cat "${report_file}"
Expand Down

0 comments on commit e300fcf

Please sign in to comment.