I am using the SFTP Deploy pipeline and whenever it runs it says that their is no such file or directory despite the directory being their as docker clones my repo and puts it there.
pipelines:
default:
- step:
script:
- pipe: atlassian/sftp-deploy:0.3.1
variables:
USER: 'bitbucket'
SERVER: '(removed for security)'
REMOTE_PATH: '/repo/'
LOCAL_PATH: 'build'
When I check the variable $pwd it returns /opt/atlassian/pipelines/agent/build/