Skip to content

Commit

Permalink
[api] the backend will send different payload for build events now
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Dec 2, 2013
1 parent 8fbd4f1 commit fa56d0c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/api/app/models/event/build.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
class Event::Build < Event::Package
self.description = 'Package has finished building'
self.abstract_class = true
payload_keys :repository, :arch, :disturl, :release, :file, :versrel, :readytime, :srcmd5,
:srcserver, :rev, :revtime, :job, :reason, :bcnt, :needed, :path, :reposerver,
:subpack, :verifymd5, :debuginfo, :constraintsmd5, :hostarch, :followupfile
payload_keys :repository, :arch, :release, :readytime, :srcmd5,
:rev, :reason, :bcnt, :verifymd5, :hostarch, :starttime, :endtime, :workerid
end

class Event::BuildSuccess < Event::Build
Expand Down

0 comments on commit fa56d0c

Please sign in to comment.