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

build subfolder created on server

I'm using this in my pipeline:


- pipe: atlassian/ftp-deploy:0.3.5
variables:
USER: '$live_user'
SERVER: '$live_server'
REMOTE_PATH: '$dev_path'
PASSWORD: '$live_password'
# LOCAL_PATH: '${BITBUCKET_CLONE_DIR}'
DEBUG: 'false'
EXTRA_ARGS: "--exclude=.idea/ --exclude=.git/"

And instead of uploading it to my REMOTE_PATH, a subfolder in the remote-path is created named "build". And inside that build-folder, all latest files are uploaded to.

But i want them to be uploaded directly into the remote-path, no automatically generated subfolders.

I also found this, but that didn't solve the problem: Solved: SFTP-deploy pipe creates build folder on remote an... (atlassian.com)

1 answer

0 votes

Hi @robdebert ,

Thank you for your question!

Looks like your LOCAL_PATH should include build directory:

LOCAL_PATH: '${BITBUCKET_CLONE_DIR}/build'

 Have tested this case and the ftp-deploy pipe uploads only files from the directory.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: Your favorite Trello blog takeaway

Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...

65 views 4 3
Join discussion

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