未验证 提交 3580e595 编写于 作者: O Oleg Nenashev 提交者: GitHub

Merge pull request #4839 from jglick/fallback-url-JENKINS-63014

[JENKINS-63014] Stop passing extra -url to agents
......@@ -89,21 +89,6 @@ THE SOFTWARE.
<argument>-url</argument>
<argument>${rootURL}</argument>
<j:if test="${rootURL!=app.rootUrlFromRequest}">
<!--
rootURL is based on the URL in the system config, but there has been
numerous reports about people moving Jenkins to another place but
forgetting to update it. To improve the user experience in this regard,
let's also pass the URL that the browser sent us as well, so that the
JNLP Main class can try both.
Note that rootURL is still necessary in various situations, such
as reverse HTTP proxy situation, which makes rootUrlFromRequest incorrect.
-->
<argument>-url</argument>
<argument>${app.rootUrlFromRequest}</argument>
</j:if>
</application-desc>
</jnlp>
</l:view>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册