-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
Wrong Gitlab API url for MR decoration #84
Comments
Firstly, can you confirm this is the latest version of that branch you're using (the one that was published on Sunday)? Can you also confirm how the host URL is being submitted? Is this auto-detected from the Gitlab CI environment by the Sonar Runner, of a property that you're passing as part of the launch arguments for the scanner? |
Hello. Yes, it's last commit, you can see my git output below: brightside@hp ~/git/sonarqube-community-branch-plugin It seems to be autodetected. I'm running gitlab-ci ce pipeline this way:
|
Ok. We're auto-detecting it from the CI pipeline variables then. I'll update the Gitlab decorator to not include the |
After removing /api/v4 from URL it's working great with gitlab |
Fixed in #87 |
Hello. First of all, thanks for a good job.
I've compiled jar from here:
https://github.com/mc1arke/sonarqube-community-branch-plugin/tree/sq-8_1-support
and when it comes publishing MR comment, plugin fails to do that. I'm seeing following in console:
GET /api/v4/api/v4/projects/root%2Fsonarqube/merge_requests/13/commits
As I see plugin gets hostURL with /api/v4, but also adds its own /api/v4 to url
The text was updated successfully, but these errors were encountered: