Bitbucket pipeline

tech71 June 20, 2019

Hi team, I have wrote the bitbucket pipeline with following configuration file but i am facing eror { --add-host="host.docker.internal:$BITBUCKET_DOCKER_HOST_INTERNAL" \
bitbucketpipelines/aws-code-deploy:0.2.3
bash: ${1T+kNTebBCQcyMCmUYKle823T0jDRJe+XcDQ9d0V}: bad substitution} 

please check and let me know the solution.


bitbucket-pipelines.yml

 

image: atlassian/default-image:2

pipelines: default: - step: name: Build script: - cd admin/back-end && zip -r ../myapp.zip * artifacts: - myapp.zip
- step: name: Upload to S3 services: - docker script: # Test upload - pipe: atlassian/aws-code-deploy:0.2.3 variables: AWS_ACCESS_KEY_ID: ${AKIAXWJT4X2USSA6SV4R} AWS_SECRET_ACCESS_KEY: ${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} AWS_DEFAULT_REGION: ${us-east-1} S3_BUCKET: ${testpipelinebucket} COMMAND: 'upload' APPLICATION_NAME: ${testpipelieapplication} ZIP_FILE: 'myapp.zip'
- step: name: Deploy with CodeDeploy services: - docker script: # Test upload - pipe: atlassian/aws-code-deploy:0.2.3 variables: AWS_ACCESS_KEY_ID: ${AKIAXWJT4X2USSA6SV4R} AWS_SECRET_ACCESS_KEY: ${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} AWS_DEFAULT_REGION: ${us-east-1} COMMAND: 'deploy' APPLICATION_NAME: ${testpipelieapplication} DEPLOYMENT_GROUP: ${DG6} IGNORE_APPLICATION_STOP_FAILURES: 'true' FILE_EXISTS_BEHAVIOR: 'OVERWRITE'

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events