diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-22 18:11:45 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-25 12:38:25 +0300 |
commit | e5cd47fc97e7bc85153d695e02f0b0704a43da93 (patch) | |
tree | 7fafd2ca793b7c9a5f6b3db8165756eb297a015b /app/models/ci/bridge.rb | |
parent | ec7f4b487635fe8840adbc39279c3ae689897753 (diff) |
Implement default `when` for bridge jobs as `on_success`
Diffstat (limited to 'app/models/ci/bridge.rb')
-rw-r--r-- | app/models/ci/bridge.rb | 7 |
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 |