Hi,
I have referred https://marketplace.atlassian.com/plugins/ch.mibex.bitbucket.sonar/cloud/overview for this sonar add on.
Installation was successfull.
But when i do so, i am not able to see the update in the overview page. It says "loading sonar for bitbucket" but nothing is shown up
I wanted to know what i can do for it?
Then they have mentioned to add sonar.json file in the root folder of the master branch .What does that mean? We have to add it to the local repository or directly in the Bitbucket page?
This looks like a bug in the add-on. I've notified the vendor.
That is explained in their documentation: https://mibexsoftware.atlassian.net/wiki/display/SONAR4BB/Installation
"This add-on needs a configuration file called "sonar.json" in the root folder of the master branch of the Bitbucket repository that should get analyzed."
You can use the "New file" button on the source browser to create that file (or just push it up).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The problem is that we cannot show an error when no sonar.json file is provided because a user might not want every repository being analyzed by our add-on. The activation of the add-on for a repository is therefore handled by adding a sonar.json file to a repository. We will nevertheless show a small help icon for the next release of the add-on that makes users aware of why no statistics are shown due to the missing sonar.json file.
Now that you have added a sonar.json file to your repository, do you still get a "not responding" error? Could you please try again? I'll then try to have a look at the application log to see what is causing these issues.
Best regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When the file is not (yet) present, it might be beneficial to not make a broken AJAX call, breaking the add-on panel, but anticipate it and display an appropriate message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I tried again. Its not showing up .Can anyone help me in resolving it.
As mentioned i have added sonar.json file in the root of the master file.
Capture11.PNG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We've just released a new version of the add-on fixing the issue with the broken AJAX call when no config file exists in the repository. Could you please try again? I haven't seen any errors in the logs so far for your attempts.
Thanks,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
I tested it again. The same error is shown again.
The steps i followed are:
Same error is shown:
First it says "Loading sonar add on" then "Add-on Sonar for Bitbucket is not responding. Wait or cancel?"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Supriya,
Please note that you cannot use http://localhost:8080 as your Sonar instance. The plug-in only works with public Sonar instances that are reachable from the Internet. Do you have a public Sonar instance which analyzes your projects?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Supriya,
Our add-on runs in the cloud. Therefore, your Sonar instance must be accessible from the internet. You cannot use a an instance that runs locally on your machine or behind a firewall.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nemo would be one option. Or Cloudbees offers SonarQube for the cloud. In order to get your project analyzed with Nemo, you have to follow the instructions provided here: https://nemo.sonarqube.org/?did=157
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Michael, I submitted a ticket to your jira help desk.
anyways, here is my configuration:
I'm getting an error when integrating with your plugin, as shown in the below picture. Could you tell me why?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are you using SonarQube 6.3 already? Please note that the add-on currently doesn't support the latest SonarQube version. We are working on this now and I'll reply here once it is ready.
Best regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
as sonarqube is now on 6.6, has the plugin been updated to support it? I am getting this same error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.