The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

bitbucketpipeline using the variables

venkat
December 19, 2019

Hi team,

I have setup the pipeline , But i am facing the error like while deploy the application .
Can you please check and reply ASAP. the configuration file I have given below

bitbucket-pipelines.yml

---
image: node:10.15.0
pipelines:
branches:
master:
- step:
name: "Build"
script:
- "apt-get update -y"
- "cd admin/front-end/"
- "npm install"
- CI=false
- "npm run build"
- cd ..
- cd ..
- apt-get install -y zip
- "zip -r myapp.zip *"
artifacts:
- myapp.zip
- step:
name: Upload to S3
script:
- pipe: atlassian/aws-code-deploy:0.3.7
variables:
AWS_DEFAULT_REGION: '-----------'
AWS_ACCESS_KEY_ID: '--------'
AWS_SECRET_ACCESS_KEY: '------------'
COMMAND: 'upload'
APPLICATION_NAME: '-------'
ZIP_FILE: 'myapp.zip'
S3_BUCKET: '----'
VERSION_LABEL: 'my-app-1.0.0'
- step:
name: Deploy with CodeDeploy
script:
- pipe: atlassian/aws-code-deploy:0.3.7
variables:
AWS_DEFAULT_REGION: 'ap-southeast-2'
AWS_ACCESS_KEY_ID: '----------------'
AWS_SECRET_ACCESS_KEY: '---------------'
COMMAND: 'deploy'
APPLICATION_NAME: '---------'
DEPLOYMENT_GROUP: '--'
S3_BUCKET: '-------------'
IGNORE_APPLICATION_STOP_FAILURES: 'true'
FILE_EXISTS_BEHAVIOR: 'OVERWRITE'
WAIT: 'true'
VERSION_LABEL: 'my-app-1.0.0'
DEBUG: 'true'

Regards,
Venkat

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
ktomk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 19, 2019

Oh yes these errors, I've heard of them. Always a bummer. I can only bump it up here and this should really be handled ASAP. So let's try to push harder together to make things better!

And in the meantime: Have you checked the pipelines file in the validator? Just in case, you know where to find it on the Atlassian domains?

/e: The pipe you're asking about is located here: https://bitbucket.org/atlassian/aws-code-deploy/src/master/ - It might be worth to file an actual error report there if there really is some flaw you want to see fixed.

TAGS
AUG Leaders

Atlassian Community Events