Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

bitbucket with ftp server

hey there,

is there anyone who can help me, why i am getting this error, 
i am trying to automate bitbucket commit with ftp server, so whenever i commit on repo it will build and upload it into ftp server, 
thank you :)

error and yml are attached,


note i am doing this with my bitbucket premium account. and i can easily access this server and its directories from filezilla.


yml ss.PNG

1 answer

0 votes

Hi @Abrar Asim and welcome to the community.

Is your ftp server behind a firewall? If so, you may need to whitelist on the firewall the IP addresses used by Pipelines.

You can find the IP addresses listed on the following page, specifically the section titled Valid IP addresses for Bitbucket Pipelines build environments:

If you're still facing issues, could you please add the -vv flag in the git ftp command for more verbose output? You can then post the verbose output here (masking any sensitive info) so we can take a look.

If you have any questions, please feel free to let me know.

Kind regards,

@Theodora Boudale  i am sorry i didn't understand, do i have to pass all IP's in inbound rule? 

and after added adding -vv  i got the same error,

error ss.jpg



is there any a way we can do an online meeting? can you do me a favor for this?? 

Hi @Abrar Asim,

If your ftp server is behind a firewall and doesn't allow connections from anywhere on the internet, you'll need to whitelist the IPs for Bitbucket Pipelines build environments. Otherwise, your ftp server won't be reachable from Pipelines builds.

The IPs that need to be whitelisted in this case are the ones mentioned in section "Valid IP addresses for Bitbucket Pipelines build environments" of the documentation I linked.

If this doesn't help to resolve the issue, since this is occurring with a repo on a premium workspace, you can reach out to the support team and request a video call. You can create a support ticket via, in "What can we help you with" select "Technical issues and bugs" and then Bitbucket Cloud as product. Please make sure to provide in the Details the URL of the failed build with the -vv flag (the support ticket will be visible only to you and Atlassian staff, so the build URL won't be publicly visible).

Kind regards,

@Theodora Boudale  hi there,

i have tried with whitelist IP's + i have checked by closing all the firewall but it didn't work with me.. 
and let me try to generate ticket.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

105 views 2 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you