I am using Bitbucket branch source plugin and I have enabled automatic webhook registration. Unfortunately, jobs keep failing to register webhooks with 401 http error code.
Is there any configuration on Bitbucket side that I may have missed?
You may have already checked this but if you're using BitBucket Cloud you need to make sure BitBucket can talk to your Jenkins server. Router, Firewall, etc. allowing access from BitBucket Cloud servers. There is whitelist of IP's available.
Also, on the BitBucket side, the user Jenkins connects as needs Admin privileges on the repo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.