File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/resources/hudson/slaves/JNLPLauncher Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ THE SOFTWARE.
5757 <p >
5858 ${%Or if the slave is headless:}
5959 </p >
60- <pre >java -jar <a href =" ${rootURL}/jnlpJars/slave.jar" >slave.jar</a > -jnlpUrl ${h.inferHudsonURL(request)}${it.url}slave-agent.jnlp</pre >
60+ <pre >java${it.launcher.vmargs == null ? '' : ' ' + it.launcher.vmargs} -jar <a href =" ${rootURL}/jnlpJars/slave.jar" >slave.jar</a > -jnlpUrl ${h.inferHudsonURL(request)}${it.url}slave-agent.jnlp</pre >
6161 </li >
6262 </j : when >
6363 <j : otherwise >
@@ -66,7 +66,7 @@ THE SOFTWARE.
6666 ${%Run from slave command line:}
6767 </p >
6868 <!-- TODO conceal secret w/ JS if possible -->
69- <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 >
69+ <pre >java${it.launcher.vmargs == null ? '' : ' ' + it.launcher.vmargs} -jar <a href =" ${rootURL}/jnlpJars/slave.jar" >slave.jar</a > -jnlpUrl ${h.inferHudsonURL(request)}${it.url}slave-agent.jnlp -secret ${it.jnlpMac}</pre >
7070 </li >
7171 </j : otherwise >
7272 </j : choose >
You can’t perform that action at this time.
0 commit comments