Chad,
I'm running ccrb and ant in Windows XP Pro, and the return code ('echo
%ERRORLEVEL%') is zero when ant script return success and non-zero when it
return build failed, but always the cruisecontrolrb message is success.

I try to run cruisecontrolrb and ant in Ubuntu Linux 9.04. When I write in
command line "~/sudo ruby cruise build myproject", the cruisecontrol get the
correct error code (zero or non-zero), but when I run the command "~/sudo
ruby cruise start", I recieve the message:
./lib/cruise_control/../platform.rb:69:in `exec': Permission denied -
lib/cruise_control/../../script/../config/../cruise build myproject
(Errno::EACCES)
    from ./lib/cruise_control/../platform.rb:69:in `safely_exec'
    from ./lib/cruise_control/../platform.rb:47:in `create_child_process'

Any suggestion?

tks
Rodrigo

On Tue, Sep 22, 2009 at 6:27 PM, Chad Woolley <thewoolley...@gmail.com>wrote:

> On Tue, Sep 22, 2009 at 1:18 PM, Rodrigo Cascarrolho <rdgca...@gmail.com>
> wrote:
> > Hi,
> > I new in this list of users and I want to use cruisecontrol.rb with ant.
> My
> > problem is that the return message of ant is "BUILD FAILED", but the
> message
> > of cruisecontrol is "Build 17251.5 finished SUCCESSFULLY". In my
> projetct, I
> > write the cruise_config.rb "project.build_command = 'ant -buildfile
> > ./build/Teste.xml'".
>
> If you run your ant command from the command line, what is the value
> of the return code 'echo $?'  If it is zero, can you alter your build
> command to print it out?  Maybe it is behaving differently under the
> ccrb environment.
>
> You can also try it with a dummy ant script that just succeeds or
> fails, and see if you get a different behavior.
>
> -- Chad
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Reply via email to