HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Is it possible to show a code coverage badge in bitbucket repositories?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
showbadgebitbucketrepositoriespossiblecodecoverage

Problem

In github it is possible to show a code coverage button. Is this possible in bitbucket as well?

https://github.com/dwyl/repo-badges

Attempts

This site was found https://bitbucket.org/site/master/issues/12797/provide-project-status-build-status-badges

Navigating to https://bitbucket.org///addon/pipelines/home#!/badge/branch/?svg=true returns a dead link

Solution

You can certainly show a code coverage badge in a bitbucket repository, but it would have to be from an external source like jenkins, codeclimate, etc.

According to your link, if you are using pipelines they now show a code coverage badge on the project overview page. If you want to add that to your README or display it somewhere external, that functionality has not been implemented.

Context

StackExchange DevOps Q#2955, answer score: 2

Revisions (0)

No revisions yet.