Malformed GitLab-ci.yml creates confusing pipeline detail view
Problems
When having a malformed GitLab-ci.yml creating a pipeline:
- The empty job table on the jobs tab in the pipeline detail view can be confusing.
- Error reports are only displayed in the job's tab, which should have been immediately visible.
Steps to reproduce
- Push a commit with a malformed
.gitlab-ci.yml
to the project. - Access to the Jobs tab on the CI pipeline page.
Example Project
What is the current bug behavior?
There is a header-only table in Jobs tab on Pipeline.
What is the expected correct behavior?
User should not see no Job table in Jobs tab on Pipeline when there is no Jobs to show.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com (EE 10.7.0)
Possible fixes
Fix some logic in the views.
Edited by Dimitrie Hoekstra