-
Notifications
You must be signed in to change notification settings - Fork 81
BitBucket cloud support #66
Comments
Hi @4n4n4s , |
@t-8ch I forked you code and also read the bitbucket api documentation.
FYI: There is also a public API 2.0 but this does not support adding comments and it seems that they won't support it accoring to this link. answers.atlassian.com It would be great to contribute some code but there need to be a lot of changes to support both server and public but I think it would be great to get it working on both. About #67:
|
So, @4n4n4s I had a first shot at it (absolutely incomplete, more a showcase how I'd like it to be structured) in the
If you really want it you are absolutely welcome to provide a pull request (and have a look at my first try). I'll be happy to review your code. |
@t-8ch thanks for also doing research and setting up a base config I will start implementing tomorrow but can you please share the codeformat.xml because they are differnet from standard eclipse or springboot. Thx. |
@4n4n4s The current code style is not a special one. For future development we will use the google java code style. |
I don`t know java (only php) in order to help here. But as a customer of the Cloud I would like to see if a PR follow PSR-2 etc. Have you talked with Atlassian for help in integrating SonarQube? They have Pipelines in beta tests. But I thing the real gold is static analysis on PRs. |
I'm interested in picking this up since we've started to use SonarQube and we use BitBucket cloud. This integration would be greatly beneficial to us. Is the bitbucket_cloud branch in a state where I can rebase from the master branch and pickup development of this integration. Any other pointers that might help me get started. |
@sudr The bitbucket cloud branch has not been touched for a while. I doubt it will be worthwile to replace it. As for more information have a look at https://confluence.atlassian.com/bitbucket/use-the-bitbucket-cloud-rest-apis-222724129.html , there are links to both version 1 and 2 of the apis to the right. |
Thanks. I'll pick this up and post updates here. |
There is a different plugin that allows you to run sonar analysis on a BitBucket Cloud project: https://github.com/mibexsoftware/sonar-bitbucket-plugin Given this, I'm no longer pursing this plugin for our use case. |
Hi,
I want to test out your sonar analysis on my test project that I created on Bitbucket. Therefore I already set up a Jenkins build and added SonarQube to it.
My Test Repository is placed here:
https://bitbucket.org/4n4n4s/hooktest
When I start the jenkins build I get the following exception. Maybe I just misconfigured the sonar.stash properties but I found no documentation for bitbucket here.
As a result I would also like to add some documentation how sonar-stash can be used with jenkins + bitbucket.
Thanks for your help.
The text was updated successfully, but these errors were encountered: