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
path: root/app
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-14 15:07:46 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-25 12:34:14 +0300
commit563942ee3d0c320d6e428f9677c1d11da43d7c39 (patch)
tree9d3422a084b921ed5021daf70fc5e5d70122218d /app
parent4967fe945400e0855cda93f06add1e81c0462911 (diff)
Connect CI/CD bridge jobs to trigger requests too
Diffstat (limited to 'app')
-rw-r--r--app/models/ci/bridge.rb1
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)