When trying to use the S3 pipe, it doesn't work if there are spaces in the local path
- pipe: atlassian/aws-s3-deploy:1.1.0
variables:
AWS_ACCESS_KEY_ID: $AWS_KEY # Optional if already defined in the context.
AWS_SECRET_ACCESS_KEY: $AWS_SECRET # Optional if already defined in the context.
AWS_DEFAULT_REGION: "us-east-1"
S3_BUCKET: "foo-bucket/bazz/"
LOCAL_PATH: "$BITBUCKET_CLONE_DIR/foo bar/folder"
Community moderators have prevented the ability to post new answers.
Hi Samuel,
Are you able to use the latest version of the pipe and see if you experience the same behaviour (1.3.0)?
Also, try creating a repository variable with the entire path and pass this through using this variable in the pipe parameters - does this make any difference?
The last thing I would try is to escape the path using ' single quotes instead of " double quotes.
Cheers!
- Ben (Bitbucket Cloud Support)
@Samuel Bloch hi. Also some useful link about escaping.
Regards, Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.