Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: java.exe

...

  1. Download cygwin with the following packages:  (Admin) cygrunsrv, and (Net) openssh
  2. Open a cygwin shell window and run the SSH configure: ssh-host-config -y
  3. Run ssh daemon : cygrunsrv -S cygsshd
  4. Check that your firewall allow TCP port 22
  5. Java must be available from your ssh client: for example, add a symbolic link :  cd /usr/local/bin && ln -s /cygdrive/c/Program\ Files\(x86\)/Java/jre1.8.0_211/bin/java.exe java

When you use SSH launcher to launch a slave on Cygwin-enabled Windows, you should still specify Windows style path as the remote FS root (such as c:\jenkins). This is because the slave JVM that eventually gets launched doesn't receive the Cygwin path translation. If you specify Unix style path (such as /cygdrive/c/jenkins), then Jenkins will end up trying to create both c:\jenkins (when it copies over slave.jar via SFTP) and c:\cygdrive\c\jenkins (when slave JVM actually starts and copy more files.)

...