Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 -Dsonar.host.url=http://EC2-IP:9000 -Dproject.settings=/opt/sonar/sonar-scanner.properties -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

Hi,

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
TAGS
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - Spring 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

202 views 3 19
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