Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jjulian opened this issue Apr 5, 2011 · 9 comments
Open

Comments

@jjulian
Copy link

jjulian commented Apr 5, 2011

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
Copy link
Contributor

queso commented Apr 19, 2011

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
Copy link
Author

jjulian commented Apr 22, 2011

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)

@abelmartin
Copy link

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
Copy link

jhsu commented May 23, 2011

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

#59

@abelmartin
Copy link

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
Copy link

yandod commented Jun 13, 2011

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.

jsgriffin added a commit to jsgriffin/cijoe that referenced this issue Jul 2, 2011
@erunion
Copy link

erunion commented Jul 5, 2011

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
Copy link

adahl commented Jul 11, 2011

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

@cimm
Copy link

cimm commented Sep 20, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants