cijoe icon indicating copy to clipboard operation
cijoe copied to clipboard

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

Open jjulian opened this issue 13 years ago • 9 comments

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

jjulian avatar Apr 05 '11 18:04 jjulian

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?

queso avatar Apr 19 '11 05:04 queso

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 [email protected]:my/project 42ee78d..da1329a master -> origin/master 1303313835: Building master at 42ee78d: pid=22349 Exception building: undefined method `exitstatus' for nil:NilClass (NoMethodError)

jjulian avatar Apr 22 '11 01:04 jjulian

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?

abelmartin avatar May 11 '11 19:05 abelmartin

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

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

jhsu avatar May 23 '11 16:05 jhsu

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.

abelmartin avatar May 24 '11 18:05 abelmartin

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.

yandod avatar Jun 13 '11 03:06 yandod

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

erunion avatar Jul 05 '11 05:07 erunion

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

adahl avatar Jul 11 '11 15:07 adahl

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

cimm avatar Sep 20 '11 20:09 cimm