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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot