adrianriobo/qe-eventmanager

[Bug] Success not executed on pipeline with skipped tasks

Closed this issue · 0 comments

Currently the informer on pipelinerun will check for state PipelineRunReasonSuccessful from doc:

// PipelineRunReasonSuccessful is the reason set when the PipelineRun completed successfully
PipelineRunReasonSuccessful PipelineRunReason = "Succeeded"
// PipelineRunReasonCompleted is the reason set when the PipelineRun completed successfully with one or more skipped Tasks
PipelineRunReasonCompleted PipelineRunReason = "Completed"

So it is required to include PipelineRunReasonCompleted as success execution management