Would you like to learn how to configure the SonarQube server to use a Proxy to reach the Internet? In this tutorial, we are going to show you how to edit the sonar.properties file to enable the use of a proxy server on Sonarqube.
• Ubuntu version: 18
• Ubuntu version: 19
• Sonarqube version: 7.9.1
Hardware List:
The following section presents the list of equipment used to create this Sonarqube tutorial.
Every piece of hardware listed above can be found at Amazon website.
Sonarqube Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Sonarqube installation.
Tutorial SonarQube – Proxy Settings
Locate the SonarQube sonar.properties file.
Edit the sonar.properties file.
Locate the proxy configuration entries for HTTP and HTTPS.
Perform the required proxy configuration to enable the Sonarqube server to access the Internet.
In our example, we are using the proxy server 192.168.0.20 on TCP port 3128.
In our example, we are using the proxy username proxyuser and the proxy password proxypass.
Keep in mind that you need to change the IP, username and password to reflect your network environment.
Locate the sonar.sh startup script and restart the Sonarqube service.
The Sonarqube installation was successfully configured to use a proxy for HTTP and HTTPS access