Skip to content

Commit

Permalink
JENKINS-8676 Windows XP slave stopped working in 1.396 (related to na…
Browse files Browse the repository at this point in the history
…me change)

After thinking about it, I don't want to deal with hudsonslave here. jenkinsslave should be found anyway, so that code path should not have been triggered.
And cleaning up residual services isn't jenkins job. Otherwise both can't coexist.
  • Loading branch information
lacostej committed Feb 4, 2011
1 parent a8a931d commit f40b4ff
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -311,9 +311,6 @@ public void afterDisconnect(SlaveComputer computer, TaskListener listener) {
session.setGlobalSocketTimeout(60000);
SWbemServices services = WMI.connect(session, computer.getName());
Win32Service slaveService = services.getService("jenkinsslave");
if(slaveService==null) { // backward compatibility. is this needed ?
slaveService = services.getService("hudsonslave");
}
if(slaveService!=null) {
listener.getLogger().println(Messages.ManagedWindowsServiceLauncher_StoppingService());
slaveService.StopService();
Expand Down

0 comments on commit f40b4ff

Please sign in to comment.