diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-11 03:09:13 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-11 03:09:13 +0000 |
commit | ea99abb145ed193c2ac5d19efbff3b8990a54c9c (patch) | |
tree | c4f3870175c3334d0842eb429b5395a7845c2528 /app/services/ci | |
parent | a9104a50136e485c8dda7af37106332f9010a1e8 (diff) | |
download | gitlab-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.rb | 2 |
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 |