提交 aaf1bf29 编写于 作者: K Kohsuke Kawaguchi

integrating new installers

上级 3a3f6449
......@@ -75,6 +75,8 @@ Upcoming changes</a>
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-15408">issue 15408</a>)
<li class=bug>
Failure to initialie the SSH daemon shouldn't fail the boot.
<li class=rfe>
Added new GUI-based slave installer for upstart
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -57,6 +57,9 @@ import static javax.swing.JOptionPane.*;
/**
* @author Kohsuke Kawaguchi
* @deprecated as of 1.491
* The functionality is moved to windows-slave-installer-module to support
* multiple platforms uniformly.
*/
public class WindowsSlaveInstaller implements Callable<Void,RuntimeException>, ActionListener {
/**
......
......@@ -62,6 +62,8 @@ public abstract class SU {
/**
* Returns a {@link VirtualChannel} that's connected to the priviledge-escalated environment.
*
* @param listener
* What this method is doing (such as what process it's invoking) will be sent here.
* @return
* Never null. This may represent a channel to a separate JVM, or just {@link LocalChannel}.
* Close this channel and the SU environment will be shut down.
......
......@@ -365,7 +365,7 @@ public class SlaveComputer extends Computer {
channel.pinClassLoader(getClass().getClassLoader());
channel.call(new SlaveInitializer());
channel.call(new WindowsSlaveInstaller(remoteFs));
// channel.call(new WindowsSlaveInstaller(remoteFs));
for (ComputerListener cl : ComputerListener.all())
cl.preOnline(this,channel,root,taskListener);
......
......@@ -117,9 +117,19 @@ THE SOFTWARE.
<artifactId>ssh-cli-auth</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.modules</groupId>
<artifactId>windows-slave-installer</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.modules</groupId>
<artifactId>launchd-slave-installer</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.modules</groupId>
<artifactId>upstart-slave-installer</artifactId>
<version>1.0</version>
</dependency>
<dependency>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册