As our SonarQube instance was not accessible over internet, I am getting the below error in "Prepare analysis on SonarQube" task during the analysis of a java project.
[SQ] API GET '/api/server/version' failed, error was: {"code":"ENOTFOUND","errno":"ENOTFOUND","syscall":"getaddrinfo","hostname":"ABC.XYZ.com","host":"ABC.XYZ.com","port":443}
Some links suggests that by adding proxy variable will solve this issue. But don't know how to do it. Some links suggests to install agent service (from Deployment Pool section) will solve this issue. In that case we need to do it for multiple organization.
So anyone please let me know what will be the proper solution for this issue.
question from:
https://stackoverflow.com/questions/65626411/sonarqube-in-azure-devops-wtih-microsoft-hosted-agent 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…