Deployment from Bitbucket pipelines

I Started working on CI Process by creating builds in bitbucket Pipelines cloud (Serverless) and planned to deploy artifacts in Nexus which is in private server.. How to connect this cloud with private server?

1 answer

1 accepted

Hi Lakshmi,

There is a knowledge base article titled Use SSH keys in Bitbucket Pipelines that can help you make the connection between BitBucket Pipelines and the on-premise server you would like to deploy from:

You'll want to set up an SSH key in Bitbucket Pipelines if:

  • your build needs to authenticate with Bitbucket or other hosting services to fetch private dependencies.
  • your deployment needs to authenticate with a remote host or service before uploading artifacts.
  • you want builds to use tools such as SSH, SFTP or SCP.

In addition, take a look at What are the Bitbucket Cloud IP addresses I should use to configure my corporate firewall?:

Valid IP addresses for Bitbucket Pipelines build environments

You can use these IP ranges to whitelist requests made from your build environments. Note that Bitbucket Pipelines is a shared service and the IP addresses below are used for builds configured by all of our customers. In addition to IP whitelisting, you should use a secure means of authentication for any services exposed to Bitbucket Pipelines.

IPv4 Outbound
23.20.208.24/32 
52.7.19.238/32
52.55.104.10/32
52.203.194.12/32

Valid IP addresses for Bitbucket Pipelines services

You can use this IP range to whitelist requests made by Bitbucket Pipelines services (not your build environments) to external systems such as performing an SSH fingerprint lookup. Note that this IP range may also be used by other Atlassian systems in addition to Bitbucket Pipelines.

IPv4 Outbound
104.192.136.0/21

Take a look at What are the Bitbucket Cloud IP addresses I should use to configure my corporate firewall? for more port information.

Cheers,

Branden

Thank you so much Branden. I tried with ssh but i missed the deal with Bitbucket cloud IP addresses.. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 29m ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

8 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you