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

build subfolder created on server

robdebert December 28, 2020

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
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 13, 2021

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
AUG Leaders

Atlassian Community Events