4

Whenever pr is created on bitbucket We've setup our Jenkins and build is triggered automatically. We can see its status(running/failed/success) in our bitbucket repository.

Now we got requirements that whenever build is failed or successfully built we want to send some data(cope coverage %) to our Bitbucket Server like status.

Is it possible ? I've searched a lot but didn't find anything.

Please help me in this.

Tarun
  • 1,192
  • 2
  • 11
  • 20

1 Answers1

1

You can uses Code Quality Analysis tools like SonarCloud/SonarQube which takes reports like (Code Coverage, Unit Test, Vulnerability check etc..). You can pass to this from Jenkins.

There is a SonarQube/SonarCloud plugin in bitbucket which you can use to integrate both and see those results in a widget format from bitbucket. Something similar to this. enter image description here

Dharman
  • 30,962
  • 25
  • 85
  • 135
AkshayBadri
  • 504
  • 1
  • 10
  • 18