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

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

XMLWordPrintable

      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.

        1. active_webhook.PNG
          22 kB
          Stefan Drzazga
        2. jenkins_trigger.jpg
          920 kB
          Stefan Drzazga

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

              Created:
              Updated:
              Resolved: