| When I enable for a freestyle job(in the context of Bitbucket server repository) the trigger 'Bitbucket Server trigger build after push' option it creates for the repository in Bitbucket a webhook. Unfortunately, in the two cases:
- trigger option is being unticked
- job is deleted
the webhook remains active in Bitbucket which leads to failures for the still-active repository webhook on push events. At the moment I have to remove the trigger myself through UI/API. I believe in the above-mentioned cases the webhook should be removed automatically and nit stay active. |