jenkins-x/jx-ui

Display the reason for a pipeline being timed out or cancelled

Opened this issue · 2 comments

When a pipeline is cancelled or it has timedout, we update the status of the pipeline to cancelled or timedout.
But we dont show any reason why a job was timedout.
Some of the possible reasons could be:

  • Docker registry was down
  • Jobs could not complete in the timeout set in the pipeline file
  • Nodes were not provisioned, and hence the jobs timed out

We should show that information in the pipeline details page (along with the step which has timed out).

This will most likely involve making changes in the jx-api repo (adding a new field to the pipeline activity struct).

@rajatgupta24 is working on this.

To be shown in the office hours on Aug 2, 2022