我們將teamcity 10作爲公司網絡後面的服務運行,我們需要將其配置爲連接到代理,以便我們可以訪問外部問題跟蹤器(Jira)。Teamcity中的代理設置
當我們試圖測試方面,我們得到
Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
我假設是因爲代理未正確設置?其他鏈接似乎表明其爲Jira Cloud頒發的證書問題?基於此https://confluence.jetbrains.com/display/TCD7/JIRA和https://developer.atlassian.com/jiradev/latest-updates/soap-and-xml-rpc-api-deprecation-notice的替代理論表明,xml-rpc是集成所必需的,但不推薦使用?
我們已經增加了
TEAMCITY_SERVER_OPTS in environment settings with the following -Dproxyset=true;-Dhttp.proxyHost=xxx;-Dhttp.proxyPort=xxx
還有什麼?還是更簡單的方法?
感謝您閱讀
TEAMCITY_SERVER_OPTS應該得到空格分隔的settion,而不是「;」 - 分隔 – Yaegor