代理后面的更新中心:如何使用 https bintray 存储库? [英] Update center behind proxy : howto with https bintray repository?
问题描述
最近,SonarQube 使用 bintray 存储库进行包分发,在 https 中(参见 update-center.properties).
Recently, SonarQube uses the bintray repository for package distribution, in https (see update-center.properties).
使用代理后的更新中心,发现了一些更新,但升级时,错误(这里是 xml 插件):
Using the update center behind a proxy, some updates are found but when upgrade, error (here for xml plugin) :
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))
SonarQube:DefaultHttpDownloader 似乎不支持 https.proxyXXX 属性.
The SonarQube:DefaultHttpDownloader seems not support https.proxyXXX properties.
今天有办法使用这些插件的更新中心吗?
@SonarSource : sonar.properties
将来会支持此功能吗?或者为 bintray 存储库声明 http url(但邪恶)?
@SonarSource : This feature could be supported in sonar.properties
for the future ? Or declare http url for bintray repository (but evil) ?
谢谢
推荐答案
SonarQube 5.5 终于支持属性 https.proxyHost
和 https.proxyPort
了.感谢阿利克斯的反馈.https://jira.sonarsource.com/browse/SONAR-7429
The properties https.proxyHost
and https.proxyPort
are finally supported in SonarQube 5.5. Thanks Alix for the feedback.
https://jira.sonarsource.com/browse/SONAR-7429
这篇关于代理后面的更新中心:如何使用 https bintray 存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!