do you install sonar runner on stash machine ?

I have sonarqube server on a different box and the stash machine and bamboo on a separate boxes. Do I install sonar-runner on stash machine and as well as bamboo machine ? I need to run sonar for stash and as well as in bamboo. Please advice. 

Thank you

2 answers

1 accepted

We are using the "Sonar for Stash" plugin in Stash and they are deployed in different machines.

Thank you for your reply Gabrielle. so install sonar runner in stash machine ? 

Sorry if my answer is not complete. You can install Sonar Runner on any machine, Stash will always see it even though they are not on the same machine.

thank you very much for your reply. the reason why I asked is because I am not sure where to point the source code for the Project. So say for example SonarServer and SonarRunner is installed in boxA, I have to do a git clone to get the latest code to be inspected for Sonar. Maybe im not setting it up correctly. I guess I am having a hard time setting up the path of the SonarProjectBaseDir on sonar-project file. It works if i copy the proj locally but I want it to sync with our stash repo. Hopefully that makes sense. Thank you very much for your help

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,768 views 1 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you