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
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

280 views 0 12
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