Show `failure_reason` in jobs view content section
This issue is part of https://gitlab.com/gitlab-org/gitlab-ce/issues/41111
Design
- No longer scroll to bottom of job by default when opening job view after it has finished
Messages:
- "There is an unknown failure, please try again",
- "There has been a script failure. Check the job log for more information",
- "There has been an API failure, please try again",
- "There has been a timeout failure or the job got stuck. Check your timeout limits or try again",
- "There has been a runner system failure, please try again",
- "There has been a missing dependency failure, check the job log for more information"
Retry button becomes a primary (fully colored button) if:
- "Unknown failure" => Includes retry button
- "Script failure"
- "API failure" => Includes retry button
- "Stuck or timeout failure" => Includes retry button
- "Runner system failure" => Includes retry button
- "Missing dependency failure"
Note: If no job log, please provide a mini job log stating: No job log
Note: The call-out will be replaced by the default call-out which has already been defined and used in GitLab:
Edited by Dimitrie Hoekstra