app/models/project_services/mail_service.rb [41:50]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ]
  end

  def can_execute?(build)
    return if build.allow_failure?

    # it doesn't make sense to send emails for retried builds
    commit = build.commit
    return unless commit
    return unless commit.builds_without_retry.include?(build)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



app/models/project_services/slack_service.rb [42:50]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ]
  end

  def can_execute?(build)
    return if build.allow_failure?

    commit = build.commit
    return unless commit
    return unless commit.builds_without_retry.include?(build)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



