提交 84e485fc 编写于 作者: S Stephen Connolly

[FIXED JENKINS-28111] JNLP slave JVM Options are inconsistently applied

上级 cd8dbeda
...@@ -57,7 +57,7 @@ THE SOFTWARE. ...@@ -57,7 +57,7 @@ THE SOFTWARE.
<p> <p>
${%Or if the slave is headless:} ${%Or if the slave is headless:}
</p> </p>
<pre>java -jar <a href="${rootURL}/jnlpJars/slave.jar">slave.jar</a> -jnlpUrl ${h.inferHudsonURL(request)}${it.url}slave-agent.jnlp</pre> <pre>java ${it.launcher.vmargs}${it.launcher.vmargs==null?'':' '}-jar <a href="${rootURL}/jnlpJars/slave.jar">slave.jar</a> -jnlpUrl ${h.inferHudsonURL(request)}${it.url}slave-agent.jnlp</pre>
</li> </li>
</j:when> </j:when>
<j:otherwise> <j:otherwise>
...@@ -66,7 +66,7 @@ THE SOFTWARE. ...@@ -66,7 +66,7 @@ THE SOFTWARE.
${%Run from slave command line:} ${%Run from slave command line:}
</p> </p>
<!-- TODO conceal secret w/ JS if possible --> <!-- TODO conceal secret w/ JS if possible -->
<pre>java -jar <a href="${rootURL}/jnlpJars/slave.jar">slave.jar</a> -jnlpUrl ${h.inferHudsonURL(request)}${it.url}slave-agent.jnlp -secret ${it.jnlpMac}</pre> <pre>java ${it.launcher.vmargs}${it.launcher.vmargs==null?'':' '}-jar <a href="${rootURL}/jnlpJars/slave.jar">slave.jar</a> -jnlpUrl ${h.inferHudsonURL(request)}${it.url}slave-agent.jnlp -secret ${it.jnlpMac}</pre>
</li> </li>
</j:otherwise> </j:otherwise>
</j:choose> </j:choose>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册