Check when pipeline fail if duration of pipeline is correctly calculated
If a pipeline fails that should be calculated but if a new job is started and the pipeline succeeds afterwards (e.g. flaky tests) which value are we calculating?
Is it just the failure or also the success.
This is also questioned in MR !5