Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,405
Community Members
 
Community Events
176
Community Groups

Pipelins for deploy in FTP server in not working

I have a windows server with FileZilla server configured. This is working good

 

I am trying deploy to a shared folder into this server through a pipepline by FTP.

 

This is my configuration into bitbucket-pipelines.yml

image: bitbucketpipelines/ftp-deploy:0.2.1
pipelines:

default:

- step:

caches:

- node

- composer

script:

- pipe: atlassian/ftp-deploy:0.2.1

variables:

USER: $PREPRO_FTP_USERNAME

PASSWORD$PREPRO_FTP_PASSWORD

SERVER: $FTP_SERVER

REMOTE_PATH: /Caribbean

The problem is when I run it, start the authentication with the FTP server but never end, so I must cancel it. Bellow part of the message that I get

Digest: sha256:3f5349bfe83861cb274bd0e37c4468257c6b66624b58aa5587ac2fc471b27e6cStatus: Downloaded newer image for bitbucketpipelines/ftp-deploy:0.2.1

INFO: Starting FTP deployment to 34.206.219.252:/Caribbean...

Any idea?

 

1 answer

1 accepted

0 votes
Answer accepted

Hi @Yerickson Eladio Arias Barreto . I would first check if your FTP server is reachable by the 

34.206.219.252 IP and 21 port is open. Second, I would enable the debug mode when running the pipe by setting the DEBUG pipe variable to "true" to see what's going on.

Hi Alexander, I already solved the communication issue. Now I am facing a problem to sync the content. Now when I run a git-ftp init or catchup the pipeline connect  with my ftp server and create the .git-ftp.log file. Them when I run the push nothing happen, I mean the pipeline run without any problem but when I check my Server I have only .git-ftp.log file. I like I have a git-ignore file, but I don't have it. Do you have any idea what is happening?

Hard to tell. I'd need pipeline logs and the bitbucket-pipelines.yml file to try to understand what's wrong.

Hi Alexander, I found the problem. Thanks for your interest.

 

Last question, how can find the docker file for the image bitbucketpipelines/ftp-deploy:0.2.1?

I would like to build this image into my AWS account, to be sure that any change that Atlassian make to this image, affect my pipelines. I could not find it in docker hub

 

Thanks

The Dockerfile can be found in the pipe repository: https://bitbucket.org/atlassian/aws-ecr-push-image/src/master/Dockerfile

@Yerickson Eladio Arias Barreto 

 hey there , can you tell us how you solved that problem? i am facing same issue..

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events