Add SonarQube coverage via shields.io badge

前端 未结 6 807
余生分开走
余生分开走 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:45

    SonarCloud.io altered API to these urls

    https://sonarcloud.io/api/project_badges/quality_gate?project=WcfSoapLogger&branch=master
    https://sonarcloud.io/api/project_badges/measure?project=WcfSoapLogger&metric=code_smells
    

提交回复
热议问题