#116 ✓resolved
Simon Rozet

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 }

The #update_attribute call fails with the following error when the commit identifier can't be retrieved:

/resource.rb:518:in update_attributes'
/usr/lib/ruby/gems/1.8/gems/foca-integrity- queue_build'
/usr/lib/ruby/gems/1.8/gems/foca-integrity- POST /:project/builds'</pre>

Also, I think that part should be refactored.

Comments and changes to this ticket

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.

New-ticket Create new ticket

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.

Shared Ticket Bins

People watching this ticket