Hi,

    I have jenkins 1.464 install on a Windows7 x64 machine.

    I have Git 1.7.10 installed on the same machine

    I create a basic free style project

    I have configured Jenkins to "Shell executable" with C:\bin\sh.exe

    I have run the sh.exe on the DOS prompt and it works

    sh.exe is a copy of the executable from the Git 1.7.0 distribution

I added a build step in the jenkins job and chose the "Execute shell" option

    When I click "Build Now", I get the error

Started by useranonymous  <http://localhost:8080/user/null>
Building in workspace C:\Program Files (x86)\Jenkins\workspace\ShellTest
[ShellTest] $ C:\bin\sh.exe -xe C:\Windows\TEMP\hudson7189706247470481416.sh
Build step 'Execute shell' marked build as failure
Finished: FAILURE


I am trying to debug the problem by creating the above as simple as possible.

Is there a way to examine the temporary hudson*.sh file before it gets deleted? The content of the "Command" window in the jenkins job configuration page is empty so there is nothing in there that should trigger any errors.

    I don't understand why this simple test would fail.

Regards

--
Nicholas Yue
Graphics - RenderMan, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
Management - Recruitment, career management
http://www.proceduralinsight.com/
http://au.linkedin.com/in/nicholasyue


Reply via email to