-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Bitbucket-branch-source-936.4.2, Jenkins LTS 2.504.3
-
-
936.4.3
For a number of Jenkins instances, we are relying on init.groovy.d scripting to consistently configure BitbucketServerEndpoints. Releas 936.4.0 had a minor impact on our scripting, but also suggests that we should be using BitbucketEndpointProvider.registerEndpoint() instead of methods of BitbucketEndpointConfiguration.
However, the BitbucketEndpointProvider.registerEndpoint() method does not allow us to enable webhook auto-registration. Therefore, we are still creating a BitbucketServerEndpoint and adding it via BitbucketEndpointConfiguration.
Are there any plans to also add webhook credententials to BitbucketEndpointProvider.registerEndpoint() or to the class api.BitbucketServer?
Or are we simply using the wrong interface?
As an alternative to the init.groovy.d script we have tried Configuration-as-Code, but using it for the Bitbucket Endpoint configuration does not allow us to add additional endpoints via the Jenkins UI.
- links to