Alternative for setManageHooks

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Environment:
      Bitbucket-branch-source-973.0.1, Jenkins LTS 2.516.2
    • 937.1.0

      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.

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

              Created:
              Updated:
              Resolved: