
Error when the commit identifier can't be retrieved
Reported by Simon Rozet | March 18th, 2009 @ 06:08 PM
def build(commit)
# ..
@scm.with_revision(commit.identifier) { run_build_script }
@build
ensure
@commit.update_attributes(@scm.info(commit.identifier))
end
The #update_attribute
call fails with the following
error when the commit identifier can't be retrieved:
/resource.rb:518:inupdate_attributes' /usr/lib/ruby/gems/1.8/gems/foca-integrity-0.1.9.1/lib/integrity/project_builder.rb:20:in
build' /usr/lib/ruby/gems/1.8/gems/foca-integrity-0.1.9.1/lib/integrity/commit.rb:61:inqueue_build' /usr/lib/ruby/gems/1.8/gems/foca-integrity-0.1.9.1/lib/integrity/project.rb:35:in
build' /usr/lib/ruby/gems/1.8/gems/foca-integrity-0.1.9.1/lib/integrity/app.rb:117:inPOST /:project/builds'</pre>
Also, I think that part should be refactored.
Comments and changes to this ticket
-
Matt Hooks March 27th, 2009 @ 04:26 AM
I was having this error till I cloned manually from github and added github's rsa fingerprint to my known hosts.
-
Simon Rozet March 28th, 2009 @ 08:43 PM
- Tag set to scm
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Automated continuous integration server that doesn't suck.