-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for getting the report html for the current branch/pullrequest #274
Conversation
I found the keys by inspecting the page, but maybe I should make use of isPullRequest in https://github.com/SonarSource/sonarqube/blob/master/server/sonar-web/src/main/js/helpers/branch-like.ts |
Related to #260 |
Hi @tobiasstadler, |
It is documented for SonarCloud: https://sonarcloud.io/web_api/api/measures and my 8.4.1 installation lists it if I check "Show Internal API" |
Thanks for your help, your link and the hint to "Show internal API" was very helpful. Since this is an internal key, this should also be noted in your change. |
Does this change display the dependency-check page in the Branch View? Unfortunately I can't test this, because I don't have a license. |
sonar-dependency-check-plugin/src/main/js/report_page/components/DependencyCheckReportApp.js
Show resolved
Hide resolved
It displays the report for the selected branch/pull request instead of the one for the master branch |
How should this be documented? As comment in the code? |
Yes please, only a small note in the code. |
No description provided.