最近,SonarQube使用bintray存储库进行包分发,采用https(请参阅update-center.properties).
使用代理后面的更新中心,发现了一些更新,但升级时出现错误(此处为xml插件):
Fail to download the plugin (xml, version 1.3) from https://sonarsource.bintray.com/Distribution/sonar-xml-plugin/sonar-xml-plugin-1.3.jar (error is : Fail to download: https://sonarsource.bintray.com/Distribution/sonar-xml-plugin/sonar-xml-plugin-1.3.jar (no proxy))
Run Code Online (Sandbox Code Playgroud)
SonarQube:DefaultHttpDownloader似乎不支持https.proxyXXX属性.
今天是否有使用这些插件的更新中心的意思?
@SonarSource:sonar.properties未来可以支持此功能吗?或者为bintray存储库声明http url(但是邪恶的)?
谢谢
我无法让代理配置适用于SonarQube 4.0,以便我可以安装插件.
当我打开http://localhost:9000/updatecenter/available它时显示错误:"未连接到更新中心.请检查您的互联网连接和日志."
在sonar.log中,我读到:"org.sonar.api.utils.HttpDownloader $ HttpException:无法下载[http://update.sonarsource.org/update-center.properties].响应代码:403"
在sonar.properties中,我使用与其他程序相同的代理配置它:
sonar.updatecenter.activate=true
http.proxyHost=<host>
http.proxyPort=<port>
http.proxyUser=<username>
http.proxyPassword=<password>
Run Code Online (Sandbox Code Playgroud)
我尝试在wrapper.properties中配置相同,但顺便说一下它也不起作用.
对于代理主机,我尝试了短名称和全名.对于用户名,我只尝试了用户名和<DOMAINNAME>\<username>和<DOMAINNAME>\\<username>.
没有任何效果.有任何想法吗?