-
Improvement
-
Resolution: Unresolved
-
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.