summaryrefslogtreecommitdiff
path: root/app/models/project_services/ci/hip_chat_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/project_services/ci/hip_chat_service.rb')
-rw-r--r--app/models/project_services/ci/hip_chat_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/ci/hip_chat_service.rb b/app/models/project_services/ci/hip_chat_service.rb
index 0e6e97394bc..f17993d9f3b 100644
--- a/app/models/project_services/ci/hip_chat_service.rb
+++ b/app/models/project_services/ci/hip_chat_service.rb
@@ -49,7 +49,7 @@ module Ci
commit = build.commit
return unless commit
- return unless commit.builds_without_retry.include? build
+ return unless commit.latest_builds.include? build
case commit.status.to_sym
when :failed