summaryrefslogtreecommitdiff
path: root/app/services/ci
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-11 03:09:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-11 03:09:13 +0000
commitea99abb145ed193c2ac5d19efbff3b8990a54c9c (patch)
treec4f3870175c3334d0842eb429b5395a7845c2528 /app/services/ci
parenta9104a50136e485c8dda7af37106332f9010a1e8 (diff)
downloadgitlab-ce-ea99abb145ed193c2ac5d19efbff3b8990a54c9c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/ci')
-rw-r--r--app/services/ci/create_cross_project_pipeline_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/create_cross_project_pipeline_service.rb b/app/services/ci/create_cross_project_pipeline_service.rb
index a60793463b4..dd15fa8ddb8 100644
--- a/app/services/ci/create_cross_project_pipeline_service.rb
+++ b/app/services/ci/create_cross_project_pipeline_service.rb
@@ -30,7 +30,7 @@ module Ci
end
downstream_pipeline.tap do |pipeline|
- @bridge.drop!(:downstream_pipeline_creation_failed) if pipeline.has_yaml_errors?
+ @bridge.drop!(:downstream_pipeline_creation_failed) if pipeline.errors.any?
end
end