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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/models/ci/bridge.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/ci/bridge.rb b/app/models/ci/bridge.rb
index 5450d40ea95..3c47e870238 100644
--- a/app/models/ci/bridge.rb
+++ b/app/models/ci/bridge.rb
@@ -37,6 +37,13 @@ module Ci
false
end
+ ##
+ # TODO we probably want to add support for `when` configuration.
+ #
+ def when
+ 'on_success'
+ end
+
def expanded_environment_name
end