gitlabhq/app/workers/post_receive.rb

6 lines
135 B
Ruby

class PostReceive
def self.perform(reponame, oldrev, newrev, ref)
puts "[#{reponame}] #{oldrev} => #{newrev} (#{ref})"
end
end