Skip to content

Commit

Permalink
Merge pull request #23 from odair-pedro/feature/adjust-report
Browse files Browse the repository at this point in the history
Adjust template quality report
  • Loading branch information
odair-pedro committed Oct 26, 2020
2 parents d6a214a + 9f48ccb commit ef7a571
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions decoration/template/template.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package template

const ReportTemplate = "## Quality Report\n" +
"---" +
"[![Status](https://img.shields.io/badge/status-${status}-${status-color}?style=for-the-badge)](${host}/dashboard?id=${project}&pullRequest=${pullrequest})\n\n" +
"| Metric | Rating |\n" +
"|-|-|\n" +
Expand All @@ -9,4 +10,5 @@ const ReportTemplate = "## Quality Report\n" +
"| Reliability |[![Status](https://img.shields.io/badge/${rel-status}-${rel-status-color}?style=for-the-badge)](${host}/component_measures?id=${project}&metric=new_reliability_rating&pullRequest=${pullrequest}&view=list)|\n" +
"| Security |[![Status](https://img.shields.io/badge/${sec-status}-${sec-status-color}?style=for-the-badge)](${host}/component_measures?id=${project}&metric=new_security_rating&pullRequest=${pullrequest}&view=list)|\n" +
"| Maintainability |[![Status](https://img.shields.io/badge/${mtb-status}-${mtb-status-color}?style=for-the-badge)](${host}/component_measures?id=${project}&metric=new_maintainability_rating&pullRequest=${pullrequest}&view=list)|\n\n" +
"---" +
"*Report generated by [**SonarCI**](https://odair-pedro.github.io/sonarci)*"

0 comments on commit ef7a571

Please sign in to comment.