My Bitbucket Pipelines are connecting from IP addresses that are not included in the official IP whitelist documentation, causing deployment failures to servers with IP-based firewall rules.
I'm attempting to deploy to a cPanel server that requires SSH connections to come from whitelisted IP addresses. According to the official documentation: https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/
I should whitelist the provided IP ranges for Bitbucket Pipelines to work.
Over multiple pipeline runs, I've observed the following IPs being used:
Neither of these IPs are contained in any of the published ranges, including:
I used this pipeline step to capture the outgoing IP:
- step: name: "Check Outgoing IP" script: - apt-get update && apt-get install -y curl - echo "Pipeline IP:" - curl -s ifconfig.me