Make 'Failed Jobs' tab the default when viewing a failed pipeline
What
Show 'Failed Jobs' tab instead of pipeline graph when there are failures, unless those failures are 'allowed to fail'.
We could also link to the 'Failed Jobs' tab directly for failure notifications, such as those sent to slack. Similarly we might end up needing a /graph
path if there are occasions we want to link directly to the current page, as mentioned in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10719#note_28847470.
Why
To give immediate access to build failure messages without needing additional navigation
Description in original issue
From https://gitlab.com/gitlab-org/gitlab-ce/issues/24883:
This seems like a potential tab on the pipeline view that is always visible first if the pipeline has failed. If the pipeline has failed (but allowed to fail tests) the pipeline will also have this tab, but it will just not be the default tab that is visible when opening the pipeline