Hello All,
We have installed SonarQube in a Azure VM and allowed the port 9000. We have set up the firewall in such a way that SonarQube cannot be accessed in public network but can be accessed via Internal Jump server.
We have Integrated our Azure pipeline with SonarQube using Service connection.
When we try to run the sonarqube task in our Azure devops pipeline which runs on Azure hosted agent we are getting the below error in prepare analysis task :
-----------------------------------------ERROR message --------------------
slight_smile:
2022-07-18T09:32:22.7582192Z ##[section]Starting: Prepare analysis on SonarQube
2022-07-18T09:32:22.7591275Z ==============================================================================
2022-07-18T09:32:22.7591593Z Task : Prepare Analysis Configuration
2022-07-18T09:32:22.7591905Z Description : Prepare SonarQube analysis configuration
2022-07-18T09:32:22.7592120Z Version : 5.6.1
2022-07-18T09:32:22.7592348Z Author : sonarsource
2022-07-18T09:32:22.7592752Z Help : Version: 5.6.1. More Information
2022-07-18T09:32:22.7593142Z ==============================================================================
2022-07-18T09:34:33.2902285Z ##[error][SQ] API GET ‘/api/server/version’ failed, error was: {“errno”:“ETIMEDOUT”,“code”:“ETIMEDOUT”,“syscall”:“connect”,“address”:“XX.XXX.XXX.X”,“port”:9000}
2022-07-18T09:34:33.2937402Z ##[section]Finishing: Prepare analysis on SonarQube
-------------------------------------- Error message ends ---------------------------------------
Question 1 : Do we need to allow the SonarQube in public for connecting with Azure Devops ?
Question 2 : Can we integrate multiple Azure devops organization in SonarQube ?