Generally, this means rake returned a non-zero error code. Examine $? in
the rake task that is being executed. I also remember old versions of
rake/other gems reporting wrong status, so you may need to clear that error
code.

On Thu, Mar 29, 2012 at 8:16 AM, Ian Connor <icon...@pubget.com> wrote:

> We have jenkins setup to pull from github and run the rake tests on a
> ruby on rails project. However, it marks the build as failed even
> though the logs show no errors or failures.
>
> The last few lines look like:
>
> Finished in 4.000166 seconds.
>
> 4 tests, 9 assertions, 0 failures, 0 errors
> Errors running test:functionals!
> Build step 'Invoke Rake' marked build as failure
> Publishing rails notes report...
> Publishing rails stats report...
> Build failed, skipping rcov coverage report
> Build step 'Publish Rcov report' marked build as failure
> Finished: FAILURE
>
> However, if you look at the full log, there are no failures or errors.
>
> What is the best next step to debug this?
>
> (PS the tests run just fine in cruisecontrol.rb but we are looking to
> switch to jenkins)
>



-- 

dB. | Moscow - Geneva - Seattle - New York
dblock.org <http://www.dblock.org> -
@dblockdotorg<http://twitter.com/#!/dblockdotorg>

Reply via email to