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
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...

106 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