Skip to content

gitlab-ci: show test fail in dashboard

Created by: yanicasa

Related to gitlab-ci dashboard management

Currently, the report of each test is created at the end of the script of each job. The problem is that if one of the commands of the job returns a non-zero error code, then no report exists for the job and nothing mentions in the dashboard that the job is failed.

Ideally, jobs should not return a zero error code even in case of fail. The fault should be seen and generated by the script that generates the report for the job.

To fix the problem, this PR adds a script ran at the beginning of each job. That generates a "fail" report, and if the job is OK, it will be overwritten by the real report at the end.

Some descriptions in the CI has also been changed

Merge request reports

Loading