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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-16 09:09:12 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-16 09:09:12 +0300
commit8dadd2eab8edd2354272e1d675171a789ad4233f (patch)
treefe9c325610893f9a26c23e7287a5ddc6041e1683 /app/models
parentcf1d4237a4f226ba2deed26240544da0675a41e5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ci/pipeline.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index bc704457be1..3209e077a08 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -214,7 +214,7 @@ module Ci
end
end
- after_transition created: any - [:failed] do |pipeline|
+ after_transition created: :pending do |pipeline|
next unless pipeline.bridge_triggered?
next if pipeline.bridge_waiting?