Skip to content

Commit

Permalink
Support buildtype payload key in build events
Browse files Browse the repository at this point in the history
Record the "type" (spec|dsc|kiwi|livebuild) of builds
  • Loading branch information
hennevogel committed Dec 1, 2020
1 parent 577b3ca commit cd8a455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/event/build.rb
Expand Up @@ -3,7 +3,7 @@ class Build < Base
self.description = 'Package has finished building'
self.abstract_class = true
payload_keys :project, :package, :sender, :repository, :arch, :release, :readytime, :srcmd5,
:rev, :reason, :bcnt, :verifymd5, :hostarch, :starttime, :endtime, :workerid, :versrel, :previouslyfailed, :successive_failcount
:rev, :reason, :bcnt, :verifymd5, :hostarch, :starttime, :endtime, :workerid, :versrel, :previouslyfailed, :successive_failcount, :buildtype

def custom_headers
mid = my_message_id
Expand Down

0 comments on commit cd8a455

Please sign in to comment.