SonarQube Proxy Configuration, Tricky

后端 未结 5 491
执笔经年
执笔经年 2020-12-16 15:43

I cannot get the proxy configuration to work for SonarQube 4.0 so that I can install plugins.

When i open http://localhost:9000/updatecenter/available i

5条回答
  •  一整个雨季
    2020-12-16 16:14

    At sonar.properties set the proxy without "http://", only http.proxyHost=myproxy.domain.pt

    Another suggestion is to also add this lines on wrapper.conf:

    wrapper.java.additional.3=-Dhttp.proxySet=true
    wrapper.java.additional.4=-Dhttp.proxyHost=myproxy.domain.pt
    wrapper.java.additional.5=-Dhttp.proxyPort=myproxy.port
    wrapper.java.additional.6=-Dhttps.proxyHost=myproxy.domain.pt
    wrapper.java.additional.7=-Dhttps.proxyPort=myproxy.port
    

    Careful if you have a docker volume, remove it before deploy the new one with this configuration, or otherwise it will keep the original configuration

提交回复
热议问题