Add SonarQube coverage via shields.io badge

前端 未结 6 801
余生分开走
余生分开走 2021-02-05 14:27

I have com.github.xxxxxx:xxxxxx Maven repository and I want add shields badge but I have a invalid badge:

https://img.shields.io/sonar/https/sonarqube.com/com.github.nor

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-05 14:37

    Now, i do not use http://shields.io but directly the https://sonarcloud.io web site.

    [![Quality Gate](https://sonarcloud.io/api/badges/gate?key=com.github.noraui:noraui)](https://sonarcloud.io/dashboard/index/com.github.noraui:noraui)
    [![SonarCloud Coverage](https://sonarcloud.io/api/badges/measure?key=com.github.noraui%3Anoraui&metric=coverage)](https://sonarcloud.io/component_measures/metric/coverage/list?id=com.github.noraui:noraui)
    [![SonarCloud Bugs](https://sonarcloud.io/api/badges/measure?key=com.github.noraui%3Anoraui&metric=bugs)](https://sonarcloud.io/component_measures/metric/reliability_rating/list?id=com.github.noraui%3Anoraui)
    [![SonarCloud Vulnerabilities](https://sonarcloud.io/api/badges/measure?key=com.github.noraui%3Anoraui&metric=vulnerabilities)](https://sonarcloud.io/component_measures/metric/security_rating/list?id=com.github.noraui%3Anoraui)
    

提交回复
热议问题