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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          Hi Stefan, thanks for the report.
          As a matter of setting expectations, I'm afraid I will be CWFing this ticket. The behaviour you cite is untidy, but is intended and doesn't greatly hurt the performance of the plugin, and I don't feel we will be able to address this issue in the near future.

          mhenschke_atlassian Martin Henschke added a comment - Hi Stefan, thanks for the report. As a matter of setting expectations, I'm afraid I will be CWFing this ticket. The behaviour you cite is untidy, but is intended and doesn't greatly hurt the performance of the plugin, and I don't feel we will be able to address this issue in the near future.

          People

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

            Dates

              Created:
              Updated:
              Resolved: