summaryrefslogtreecommitdiff
path: root/app/models/ci/bridge.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-23 11:36:29 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-25 10:40:13 +0100
commit8850da27c3a1db7611c856d937a8b93e6b969b86 (patch)
treec1844a72b96fda17689ef9537148374951d0a2f4 /app/models/ci/bridge.rb
parentcd9409f003019819eb9b8e041d8fd645e222f23b (diff)
downloadgitlab-ce-8850da27c3a1db7611c856d937a8b93e6b969b86.tar.gz
Extract common `when` code between CI/CD processables
Diffstat (limited to 'app/models/ci/bridge.rb')
-rw-r--r--app/models/ci/bridge.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/models/ci/bridge.rb b/app/models/ci/bridge.rb
index 3c47e870238..5450d40ea95 100644
--- a/app/models/ci/bridge.rb
+++ b/app/models/ci/bridge.rb
@@ -37,13 +37,6 @@ module Ci
false
end
- ##
- # TODO we probably want to add support for `when` configuration.
- #
- def when
- 'on_success'
- end
-
def expanded_environment_name
end