SonarQube でプロキシサーバーの設定を行う方法です。
プロキシ環境下ではプロキシ設定を行っておかないとプラグインのインストールなどができません。
設定方法
SonarQube の設定は以下に記述します。
/opt/sonarqube/conf/sonar.properties
sonar.properties
をテキストエディタで開き、以下の行のコメントアウトを解除して設定します。
# HTTP proxy (default none)
http.proxyHost=example.com
http.proxyPort=8080
# HTTPS proxy (defaults are values of http.proxyHost and http.proxyPort)
https.proxyHost=example.com
https.proxyPort=8080
SonarQube を再起動します。