プログラムを中心とした個人的なメモ用のブログです。 タイトルは迷走中。
内容の保証はできませんのであしからずご了承ください。

2018/04/28

SonarQube のプロキシ設定

event_note2018/04/27 17:15

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 を再起動します。