iam able to trigger the jenkins job with node.js but unable to trigger with webhook
Hi Ashok and welcome to the community!
I checked the webhooks logs for your repo and the reason for the 403 error is that you are using a private IP in the webhook URL. Private IP addresses are assigned to computers in an internal network, e.g. your home network or your office network. Bitbucket webhooks send requests over the internet, and it is not possible to connect to other devices on the internet with a private IP address. You will need to use a public IP address or domain name.
If the server where Jenkins is running is behind a firewall, you will also need to whitelist the IPs that Bitbucket uses for webhook delivery. These can be found here in the section "Outgoing Connections":
Kind regards,
Theodora
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.