Create
cancel
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

FTPdeploy not answering

Edited

When I use my bitbucket pipeline, it's always stucked at :

+ lftp -u '$FTP_LOGIN,$FTP_PASSWORD' -e 'set ftp:ssl-allow no; mirror  --delete-first -vvv --exclude=.gitignore --exclude=README.md --exclude=bitbucket-pipelines.yml -R /opt/atlassian/pipelines/agent/build /htdocs/myfolder;quit' xxx.xxx.xxx.xxx
INFO: Starting FTP deployment to xxx.xxx.xxx.xxx:/htdocs/myfolder...

 It can stay 10 minutes here, no response, no message, even with -vvv ...

Is there anyway to know what's going on ?

My ftp has a firewall, I thought it could be the culprit, but I allowed all bitbuckets IPs with no effect.

Here is my latest yaml file :


#!yaml
image: atlassian/default-image:2
options:
max-time: 6 #Configure default 10 minute timeout

pipelines:
custom:
DeployToFTP:
-
step:
name: 'Deployment to PRODUCTION'
deployment: production
script:
-
echo "Deployment to FTP starting now"
-
pipe: atlassian/ftp-deploy:0.3.6
variables:
USER: "$FTP_LOGIN"
PASSWORD: "$FTP_PASSWORD"
SERVER: "$FTP_IP"
REMOTE_PATH: "$FTP_PATH"
DELETE_FLAG: 'true'
DEBUG: "$FTP_DEBUG"
EXTRA_ARGS: "--exclude=.gitignore --exclude=README.md --exclude=bitbucket-pipelines.yml"
-
echo "Deployment to FTP finished"
artifacts:
-
/opt/atlassian/pipelines/agent/build/**

1 answer

0 votes

Hi @Nicolas BROUET

Thank you for your question!

Have you check if it's possible to connect to you server from bitbucket pipelines before using the pipe?

 

Best regards,
Oleksandr Kyrdan

No, I havent checked that...
How do you do that ?

How about this one?

- ping SERVER_IP

Suggest an answer

Log in or Sign up to answer
TAGS
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...

156 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