Welcome to mirror list, hosted at ThFree Co, Russian Federation.

retried.rb « build « status « ci « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6e190e4ee3c4d800714733d3fc3954d7a6fad561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module Gitlab
  module Ci
    module Status
      module Build
        class Retried < Status::Extended
          def status_tooltip
            @status.status_tooltip + " (retried)"
          end

          def self.matches?(build, user)
            build.retried?
          end
        end
      end
    end
  end
end