Skip to content

Commit

Permalink
[FIXED JENKINS-28111] JNLP slave JVM Options are inconsistently applied
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Apr 27, 2015
1 parent cd8dbed commit 84e485f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/resources/hudson/slaves/JNLPLauncher/main.jelly
Expand Up @@ -57,7 +57,7 @@ THE SOFTWARE.
<p>
${%Or if the slave is headless:}
</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>
</j:when>
<j:otherwise>
Expand All @@ -66,7 +66,7 @@ THE SOFTWARE.
${%Run from slave command line:}
</p>
<!-- 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>
</j:otherwise>
</j:choose>
Expand Down

0 comments on commit 84e485f

Please sign in to comment.