1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
module Gitlab module Ci module Status module Deployment class Running < Status::Extended def environment_text "This job is deploying to %{environmentLink}." end def self.matches?(deployment, user) deployment.running? end end end end end end