Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
fix build status keyword (FINISHED -> FINALIZED)
Browse files Browse the repository at this point in the history
  • Loading branch information
josqu4red committed Oct 15, 2014
1 parent 4c0fc81 commit baabae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lita/handlers/gerrit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def build_notification(request, response)

message = "jenkins: Build #{params["GERRIT_CHANGE_SUBJECT"]} by #{params["GERRIT_PATCHSET_UPLOADER_NAME"]} in #{params["GERRIT_PROJECT"]}"

if build["phase"] == "FINISHED"
if build["phase"] == "FINALIZED"
case build["status"]
when "FAILURE"
message += " FAILED (#{build["full_url"]})"
Expand Down

0 comments on commit baabae0

Please sign in to comment.