Skip to content

Commit

Permalink
build the most recent commit first
Browse files Browse the repository at this point in the history
(cherry picked from commit a2fa27d)

Signed-off-by: Nicolas Sanguinetti <contacto@nicolassanguinetti.info>
  • Loading branch information
defunkt authored and foca committed Nov 17, 2008
1 parent eb8e819 commit 2862b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.rb
Expand Up @@ -93,7 +93,7 @@

begin
payload = JSON.parse(params[:payload] || "")
payload['commits'].each do |commit|
payload['commits'].reverse.each do |commit|
current_project.build(commit['id']) if payload['ref'] =~ /#{current_project.branch}/
end
'Thanks, build started.'
Expand Down

0 comments on commit 2862b60

Please sign in to comment.