Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error during SonarQube Scanner execution. Tasks support was removed in SonarQube 7.6.

Hi, i'm trying to analyse C# code using Sonar for Bamboo Plugin.But it is throwing error like:

ERROR: Error during SonarQube Scanner execution
Tasks support was removed in SonarQube 7.6.
Failing task since return code of [/opt/sonar/sonar-scanner sonar-scanner -X -Dsonar.projectKey=xyz -Dproject.settings=/opt/sonar/ -Dsonar.sources=/ubuntu/bamboo-home/xml-data/build-dir/CS-JOB1] was 1 while expected 0

 SONAR4BAMBOO: was not able to find a SonarQube result URL
Finished task 'codeanalysis' with result: Failed



1 answer


What I'm noticing here is that you use "sonar-scanner" twice:

/opt/sonar/sonar-scanner sonar-scanner 

Is it part of the "additional arguments" section in the app's Bamboo task?

Best regards,
Michael (app vendor)

Hi Michael,

Thankyou for replying.

Yes it is part of additional arguments .

I'm running sonar-scanner command inside /opt/sonar/sonar-scanner

And my command starts from :

sonar-scanner -X ....... (only this command is a part of additional parameter)

Thanks for your feedback. Please remove "sonar-scanner" from "additional arguments" because this doesn't work. The SonarScanner executable option just has to point to the SonarScanner home, the app will find the executable in there. Does that help?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

77 views 2 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you