Merge request analysis comment not formatted correctly when using gitlab/slack comment integration

Our team uses SonarCloud to write an analysis comment on our Gitlab merge requests, which looks like this:

We then have the slack integration enabled which will post a merge request comments inside of slack, like so:

However, as you can see, it’s not correctly formatted.

I would like to know if anyone has had this issue and has been able to resolve it, or perhaps it’s something that SonarCloud would need to address.


More details:

  • ALM used:

  • CI system used:
    Gitlab Pipelines

  • Scanner command used when applicable:
    sonar-scanner inside of sonarsource/sonar-scanner-cli:latest docker image

  • Languages of the repository:

  • Error observed:
    See above

  • Steps to reproduce:
    See above

  • Potential workaround:


Welcome to the community!

We haven’t (yet) integrated with Slack, so you’ll need to talk to the creators or your integration. You’ll also want to vote/comment on the portal card I linked.