in app/models/project_services/hip_chat_service.rb [45:61]
def can_execute?(build)
return if build.allow_failure?
commit = build.commit
return unless commit
return unless commit.builds_without_retry.include? build
case commit.status.to_sym
when :failed
true
when :success
true unless notify_only_broken_builds?
else
false
end
end