提交 4a7586db 编写于 作者: N Nicolas De Loof

introduce AGENTJAR_URL

+ minor fixes
上级 6c5856ed
......@@ -115,6 +115,7 @@ public class CommandLauncher extends ComputerLauncher {
pb.environment().put("HUDSON_URL", rootUrl); // for backward compatibility
pb.environment().put("JENKINS_URL", rootUrl);
pb.environment().put("SLAVEJAR_URL", rootUrl+"/jnlpJars/agent.jar");
pb.environment().put("AGENTJAR_URL", rootUrl+"/jnlpJars/agent.jar");
}
}
......
......@@ -362,7 +362,7 @@ public class SlaveComputer extends Computer {
* Creates a {@link Channel} from the given stream and sets that to this agent.
*
* @param in
* Stream connected to the remote "agent.jar". It's the caller's responsibility to do
* Stream connected to the remote agent. It's the caller's responsibility to do
* buffering on this stream, if that's necessary.
* @param out
* Stream connected to the remote peer. It's the caller's responsibility to do
......@@ -521,7 +521,7 @@ public class SlaveComputer extends Computer {
channel.addListener(listener);
String slaveVersion = channel.call(new SlaveVersion());
log.println("agent.jar version: " + slaveVersion);
log.println("Remoting version: " + slaveVersion);
boolean _isUnix = channel.call(new DetectOS());
log.println(_isUnix? hudson.model.Messages.Slave_UnixSlave():hudson.model.Messages.Slave_WindowsSlave());
......
......@@ -19,8 +19,8 @@
programme <tt>agent.jar</tt> sur la bonne machine esclave.
<p>
Une copie du <tt>agent.jar</tt> est disponible dans le répertoire
<a href="${rootURL}/jnlpJars/agent.jar"><tt>WEB-INF/agent.jar</tt></a>.
Une copie du <tt>agent.jar</tt> peut être téléchargée
<a href="${rootURL}/jnlpJars/agent.jar"><tt>ici</tt></a>.
<p>
Pour un cas simple, cette commande pourrait être du type
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册