• 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
      

          [JENKINS-20364] Failed to locate cygwin installation

          Gabor Csardi created issue -
          Gabor Csardi made changes -
          Description Original: This is what I get:

          {code}
          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)
          {code}

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

          {code}
          c:\Users\vagrant>reg query HKLM\Software\Cygwin\setup /v rootdir

          HKEY_LOCAL_MACHINE\Software\Cygwin\setup
              rootdir REG_SZ C:\cygwin
          {code}

          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.

          New: This is what I get:

          {code}
          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)
          {code}

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

          {code}
          c:\Users\vagrant>reg query HKLM\Software\Cygwin\setup /v rootdir

          HKEY_LOCAL_MACHINE\Software\Cygwin\setup
              rootdir REG_SZ C:\cygwin
          {code}

          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

          {code}
          #!/bin/bash

          hostname
          {code}
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151888 ] New: JNJira + In-Review [ 178098 ]

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

              Created:
              Updated: