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

Alternative for setManageHooks

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Bitbucket-branch-source-973.0.1, Jenkins LTS 2.516.2

      com.cloudbees.jenkins.plugins.bitbucket.api.endpoint.BitbucketEndpoint.setManageHooks was introduced with JENKINS-75857 in 936.4.3. Since 973.0.0, this function is marked as deprecated with a mention that getWebhook() should be used instead.

      We were able to replace our other usage of deprecated functions, by using getWebhook() and the WebhookConfiguration class, but do not see how we should replace setManageHooks.

      Probably I am missing the point of how the new api should be used. Some guidance on this would be much appreciated.

            nfalco Nikolas Falco
            hvdbrand Hugo van den Brand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: