srushti / goldberg

Goldberg is a lightweight CI server written in Ruby which worries about Bundler & RVM so that you don't have to.
Other
243 stars 29 forks source link

config.after_build raises 'undefined method' #126

Closed tmornini closed 12 years ago

tmornini commented 12 years ago

When I put this in a per-project configuration file:

config.after_build lambda { |build, project| `echo "project: #{project}, build: #{build}"` }

I get this from the poller:

Build on project boocx-core failed because of undefined method `after_build' for #<Project::Configuration::0x00000013b9b500>

Let me know if I can help out!

aakashd commented 12 years ago

Hello Tom,

We had replaced the after_build callback with on_build_completion, but forgot to change the documentation. Apologies for the inconvenience and thanks for bringing it to our attention.

Thanks, Aakash

srushti commented 12 years ago

I'm closing this issue, and thanks again for reporting this.