diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-14 15:07:46 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-25 12:34:14 +0300 |
commit | 563942ee3d0c320d6e428f9677c1d11da43d7c39 (patch) | |
tree | 9d3422a084b921ed5021daf70fc5e5d70122218d /app/models/ci | |
parent | 4967fe945400e0855cda93f06add1e81c0462911 (diff) |
Connect CI/CD bridge jobs to trigger requests too
Diffstat (limited to 'app/models/ci')
-rw-r--r-- | app/models/ci/bridge.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/ci/bridge.rb b/app/models/ci/bridge.rb index 29aa00a66d9..85234c06183 100644 --- a/app/models/ci/bridge.rb +++ b/app/models/ci/bridge.rb @@ -7,6 +7,7 @@ module Ci include Gitlab::Utils::StrongMemoize belongs_to :project + belongs_to :trigger_request validates :ref, presence: true def self.retry(bridge, current_user) |