SonarQube is installed in a docker which is a private network and Azure DevOps for code repo. How to integrate both?
and welcome to the SonarSource Community!
Can you clarify what you mean with a private network used for docker? Do you mean that no service run on your docker infrastructure is reachable from the network your Azure Devops is deployed in?
What I mean by private network is inside the organization with systems with private IP address. I hope this clarifies your question.
and you are on Azure Devops Services (Microsoft cloud offering) and not on Azure Devops Server I guess, is that correct?
Where are your build agents located, in Microsoft cloud as well?
We use Azure DevOps Server.
Ok, so reaching sonarqube should not be that difficult, your Azure build agents will have access to the addresses set on your docker infrastructure, won’t they?
SonarQube service is reachable on the docker host with the port you have exposed for him.
The docker run commands provided as examples with SonarQube documentation is exposing the service on port 9000.
Does it answer your question?