You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
I am using the bitbucket pipeline to run our unit test cases.
In my package.json file, I am using the project host on bitbucket with the IP whitelisting enabled security.
I also whitelisted the IP mentioned on the bitbucket portal
IPv4: 18.205.93.0/25, 18.234.32.128/25, and 13.52.5.0/25
IPv6: 2406:da00:ff00::0/96
Still getting the error while installing npm packages.
ERROR: npm ERR! remote: To access this repository, an admin must whitelist your IP.
PFA for your reference
G'day!
I would suggest reading the following documentation for IP addresses that need to be whitelisted - particularly the section "Valid IP addresses for Bitbucket Pipelines build environments" and whitelist these accordingly:
https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/
You can determine the exact IP address for a given build by adding the following to your pipelines YML - this should be a part of the list linked above:
curl http://checkip.amazonaws.com/
Hope this helps.
Cheers!
- Ben (Bitbucket Cloud Support)
Thanks, Ben I have whitelisted entire Valid IP addresses for Bitbucket Pipelines build environments.
Now its working
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.