Skip to content

Resolve "Error message is not helping when an include is not a valid URL or local path"

Mayra Cabrera requested to merge 4873-fixes-invalid-external-location into master

What does this MR do?

When an include defines a properly formed URL or a valid local path but with no content, the .gitlab-ci.yml parser fails without given a proper reason why.

Why was this MR needed?

To improve the error message return by the parser when an include statement is not valid

Screenshots (if relevant)

With a valid URL with no content (Pipeline view) Screen_Shot_2018-02-11_at_1.50.58_PM

With a valid URL with no content (.gitlab-ci.yml view) Screen_Shot_2018-02-11_at_1.51.18_PM

Screen_Shot_2018-02-11_at_2.18.52_PM

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #4873 (closed) Closes #4874 (closed)

Edited by Grzegorz Bizon

Merge request reports