Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Cater for branches on Sonarqube, only showing master bugs #35

Open
zakkeg00 opened this issue May 26, 2021 · 8 comments
Open

Cater for branches on Sonarqube, only showing master bugs #35

zakkeg00 opened this issue May 26, 2021 · 8 comments
Labels
question Further information is requested

Comments

@zakkeg00
Copy link

No description provided.

@guwirth
Copy link
Contributor

guwirth commented May 26, 2021

Hi @zakkeg00,

thanks for your feedback.

Could you explain a little bit more what your kind of problem you have and how it should be solved?

Thx

@zakkeg00
Copy link
Author

We are having problems with multiple branches, when we work on a feature branch the problems from the master is shown on in the solution. so we do not get the branches last build problems. and bugs. but only the master.

Is there a way that this can be acheaved?

@guwirth
Copy link
Contributor

guwirth commented May 26, 2021

Hi @zakkeg00,

SonarLink is using the Web API to get all information from SonarQube/SonarCloud. We have to verify if the Web API provides this information or a possibility to filter for a branch.

Regards,

@guwirth
Copy link
Contributor

guwirth commented May 26, 2021

Possibility to get issues from a branch only:

GET api/issues/search, branch parameter

  • SQ 7.9 LTS: not supported
  • SQ 8.9 LTS: branch optional since 6.6 | Branch key. Not available in the community edition.

@zakkeg00 it's only possible with SQ 8.9 LTS and developer++ edition.

@guwirth guwirth added the question Further information is requested label May 26, 2021
@zakkeg00
Copy link
Author

We are currently using the community 8.9 with a plugin for branches. I Take the api does not return the available branches?

@guwirth
Copy link
Contributor

guwirth commented May 26, 2021

Hi @zakkeg00,

I Take the api does not return the available branches?

the Web API docu is saying no. But maybe you can also have a look…

Regards,

@zakkeg00
Copy link
Author

Thank you.

I will investigate

@zakkeg00
Copy link
Author

@guwirth the api does allow for branch management when you install the community plugin
sonarqube-community-branch-plugin
https://github.com/mc1arke/sonarqube-community-branch-plugin
I am not to sure how much deferent the api exposed is with the development or enterprise is.

@zakkeg00 zakkeg00 reopened this May 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants