Skip to content
Permalink
Browse files

[JENKINS-42746] - Amend the TODO comment for JENKINS-42743

  • Loading branch information...
oleg-nenashev committed Mar 14, 2017
1 parent 0872fc3 commit 63fc71dd1207cda5a6d3884fa304f9bee82de2be
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/hudson/os/windows/ManagedWindowsServiceLauncher.java
@@ -291,7 +291,8 @@ public void launch(final SlaveComputer computer, final TaskListener listener) th

// copy exe
logger.println(Messages.ManagedWindowsServiceLauncher_CopyingSlaveExe(getTimestamp()));
//TODO: This executable in the core is designed for the master, not for the core
//TODO: This executable in the core is designed for the master, not for the agents
// Ideally the resources from Windows Agent Installer Module should be used instead (JENKINS-42743)
copyStreamAndClose(getClass().getResource("/windows-service/jenkins.exe").openStream(), new SmbFile(remoteRoot,"jenkins-slave.exe").getOutputStream());

copyStreamAndClose(getClass().getResource("/windows-service/jenkins.exe.config").openStream(), new SmbFile(remoteRoot,"jenkins-slave.exe.config").getOutputStream());

0 comments on commit 63fc71d

Please sign in to comment.
You can’t perform that action at this time.