cygwin and Jenkins/Hudson issue

406 views
Skip to first unread message

Z W

unread,
Mar 9, 2013, 1:40:38 AM3/9/13
to jenkins...@googlegroups.com
Hi All

We installed cygwin on a 64 bit Windows Server.
We tried executing a simple *nix command on the build step "Execute
shell" but we're getting error below.
We set the environment variables in PATH of the windows box with
C:\cygwin\bin and still it doesnt help.
We also have installed cygwin plugin of Jenkins and it still didnt help

What are we doing wrong ?

Thanks for your hints and suggestions.


FATAL: command execution failed
hudson.util.IOException2: Failed to locate Cygwin installation. Is
Cygwin installed?
at hudson.plugins.cygpath.CygpathLauncherDecorator$GetCygpathTask.getCygwinRoot(CygpathLauncherDecorator.java:122)
at hudson.plugins.cygpath.CygpathLauncherDecorator$GetCygpathTask.call(CygpathLauncherDecorator.java:127)
at hudson.plugins.cygpath.CygpathLauncherDecorator$GetCygpathTask.call(CygpathLauncherDecorator.java:112)
at hudson.remoting.UserRequest.perform(UserRequest.java:114)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:283)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at hudson.remoting.Engine$1$1.run(Engine.java:60)
at java.lang.Thread.run(Thread.java:662)
Caused by: hudson.util.jna.JnaException: Win32 error: 2 - null
at hudson.util.jna.RegistryKey.check(RegistryKey.java:124)
at hudson.util.jna.RegistryKey.open(RegistryKey.java:211)
at hudson.util.jna.RegistryKey.openReadonly(RegistryKey.java:206)
at hudson.plugins.cygpath.CygpathLauncherDecorator$GetCygpathTask.getCygwinRoot(CygpathLauncherDecorator.java:115)
... 12 more
[DEBUG] Skipping watc
Reply all
Reply to author
Forward
0 new messages