defunkt / cijoe

CI Joe is a fun Continuous Integration server. Unmaintained.
MIT License
1.05k stars 129 forks source link

Exception building: undefined method `exitstatus' for nil:NilClass #58

Open jjulian opened 13 years ago

jjulian commented 13 years ago

Same issue as #50.

"runner = rake spec".

When run from the command-line, rake exits with status 0, but when invoked from a post-commit POST, Exception building: undefined method `exitstatus' for nil:NilClass

queso commented 13 years ago

jjulian,

I have the same runner line for my setup, can you share more about the project you are building, or the config you are using?

jjulian commented 13 years ago

cijoe (0.9.1) git version 1.6.0.6 ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2011.03

From git@github.com:my/project 42ee78d..da1329a master -> origin/master 1303313835: Building master at 42ee78d: pid=22349 Exception building: undefined method `exitstatus' for nil:NilClass (NoMethodError)

abelmartin commented 13 years ago

I'm evaluating CIJoe and ran into a very simliar message:

 1304620957: Building master at 09b6c85: pid=####
 Exception building: undefined method `exitstatus' for nil:NilClass (NoMethodError)

...with the following setup:

cijoe (0.9.2) ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux] rvm (1.6.5) git (1.7.1) ubuntu (10.10)

...with a repo that has a Rails 2.3.2 app in it.

Is there anything I can do to fix this?

jhsu commented 13 years ago

not sure if this is the best solution, but it works, passing current_build works

https://github.com/defunkt/cijoe/pull/59

abelmartin commented 13 years ago

I didn't have time to wait for a solution so I moved on to @jenkinsci. I REALLY like it and it wasn't hard to setup at all.

yandod commented 13 years ago

I'm seeing same issue. Is there any way to get more detail log from cijoe? if it does, I can track myself or share detail here.

erunion commented 13 years ago

Experiencing the same issue on build failures. I'm not executing any rakefiles with my project since we're a PHP shop, rather just a standard PHP script.

cijoe v0.9.2 git version 1.7.2.5 ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux] Debian 6.0

adahl commented 13 years ago

Same problem here. However, noen of the above potential solutions (patches) worked for me.

cimm commented 13 years ago

@jhsu's pull request (issue #59) fixed this issue for me. Running Ubuntu Natty 11.04 and Ruby 1.9.2.