Hi wazh,
did you setup a specific gradle installation in hudsons settings dialog or do you use the default version in your build setup. If you didn't configure a specific installation and use default, you have to ensure that gradle.bat is on your path.
regards,
René

Am 01.04.11 15:08, schrieb netextzhwa:
Hi,

I want to use gradle plug-in for Hudson to build my project. I have my
Hudson (version 1.398, which is upgraded manually from v1.395) running as a
window service in my windows 2003 server, and it has gradle plugin (version
1.4 or 1.6 both tried) installed.

Gradle also has been installed in this server, and has been tested to build
projects from command line without problem.

However, when I tried to build the project through Hudson, I get following
failure message:

Started by user wazh
Updating svn://adfasdf/esapgeb/trunk
At revision 19
no change for svn://dafasdf/esapgeb/trunk since the previous build
[trunk] $ cmd.exe /C gradle.bat clean runTest -b build.gradle&&  exit
%%ERRORLEVEL%%
'gradle.bat' is not recognized as an internal or external command, operable
program or batch file.
Finished: FAILURE


It looks it just can not find gradle.bat, but I already have gradle
installed and tested from command line.
Becides, on another machine I have hudson v1.356 with gradle v1.4 which
works no problem!

Any idea?

Many thanks in advance.

/wazh

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Can-not-find-gradle-bat-in-hudson-with-gradle-plugin-tp4275457p4275457.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

     http://xircles.codehaus.org/manage_email



--
-----------------------
regards René

rene groeschke
http://www.breskeby.com
@breskeby


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to