openshift-pipelines/pipelines-as-code

Build Status Not Updated When PipelineRun is Deleted

Opened this issue · 1 comments

Description:
In Bitbucket, the build status does not change if a PipelineRun is manually deleted by the user (in the OpenShift Web Console for example). Currently, the status only updates if the pipeline is successfully completed or canceled. However, if the PipelineRun is deleted, the status remains "in progress" indefinitely.

Desired Behavior:
When a PipelineRun is deleted by the user, the build status in Bitbucket should be updated accordingly, indicating that the pipeline no longer exists and is not in progress --> status Failed.

/assign