Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60967

Webhook in Bitbucket not being removed on trigger removal or job deletion


      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:

      1. trigger option is being unticked
      2. 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.

            Unassigned Unassigned
            sdrzazga Stefan Drzazga
            1 Vote for this issue
            4 Start watching this issue