Add SonarQube coverage via shields.io badge

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

    I just found this question because i'm also trying to get badges from sonarqube (in my case sonarcloud).

    There is an embedded API for badges. Here is the official documentation (I had some time to find it on google): https://next.sonarqube.com/sonarqube/web_api/api/badges

    http://shields.io is unfortunately not working anymore with sonarqube.

提交回复
热议问题