-
-
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
BitBucket PR decoration exception #334
Comments
When Bitbucket Pull Request decoration fails due to an error from Bitbucket, diagnosing the cause of the failure can be challenging due to the lack of logs. This change therefore adds an interceptor to the HTTP client used in Bitbucket decoration which logs HTTP request headers and body content to the Sonarqube logs at debug level.
When Bitbucket Pull Request decoration fails due to an error from Bitbucket, diagnosing the cause of the failure can be challenging due to the lack of logs. This change therefore adds an interceptor to the HTTP client used in Bitbucket decoration which logs HTTP request headers and body content to the Sonarqube logs at debug level.
@mc1arke Facing the same issue . This issue shows it's on open, any idea if there is a resolution or a merge any time soon?
|
Ok my issue was not using the right personal access token. Now the request is going through and I need to look into the issue with the prebuild merge commits |
A change to allow logging of Bitbucket API requests and responses is included in v1.9.0 of the plugin. Please upgrade to this version and file a new issue if you can replicate the issue with debug logging. |
When Bitbucket Pull Request decoration fails due to an error from Bitbucket, diagnosing the cause of the failure can be challenging due to the lack of logs. This change therefore adds an interceptor to the HTTP client used in Bitbucket decoration which logs HTTP request headers and body content to the Sonarqube logs at debug level. (cherry picked from commit 3759054)
Backported to 1.8.1 of the plugin for Sonarqube 8.9 support. |
I know this ticket is closed but I'm having same issue as the original bug ticket. I set
|
It's the compute engine component that would generate the additional logs, so you'd want to set |
Describe the bug
During BitBucket decoration by reported issue plugin fails with exception
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Decorated pull request with known issues detected by SonarQube.
Software Versions
Can I somewhere find details about performed request?
The text was updated successfully, but these errors were encountered: