Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20364

Failed to locate cygwin installation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • cygpath-plugin
    • None
    • Jenkins 1.533
      Master is OSX 10.8.5
      Slave is Windows 7 Enterprise
      Slave started by JNLP (service)

      This is what I get:

      Started by upstream project "wintest" build number 1
      originally caused by:
       Started by user Gabor Csardi
      Building remotely on win7 in workspace c:\jenkins\workspace\wintest\label\win7
      FATAL: command execution failed
      hudson.util.IOException2: Failed to locate Cygwin installation. Is Cygwin installed?
      	at hudson.plugins.cygpath.CygpathLauncherDecorator$GetCygpathTask.getCygwinRoot(CygpathLauncherDecorator.java:138)
      

      Cygwin is installed and the required registry entry seems to be in place:

      c:\Users\vagrant>reg query HKLM\Software\Cygwin\setup /v rootdir
      
      HKEY_LOCAL_MACHINE\Software\Cygwin\setup
          rootdir    REG_SZ    C:\cygwin
      

      I am a little lost on what could go wrong here. Maybe because I use the SYSTEM user gets a different result for the registry query? Sounds silly, but I don't know much about registry.

      Job is as simple as

      #!/bin/bash
      
      hostname
      

            Unassigned Unassigned
            gaborcsardi Gabor Csardi
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: