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

integrating new installers

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