You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
My First two steps of pipelines are successful but when I am trying to upload to S3 bucket using the pipe it says the user provided path does not exits .
I have properly created Repo variable and also searched on ur documentation , I have used the artifact as well .
I am trying to upload to S3 and deploy to EC2.
Below is my bitbucket-pipelines.yml
image: node:12.18.4
pipelines:
branches:
feature/develop:
- step:
name: Installation
caches:
- node
script:
- npm install
artifacts:
- node_modules/** # Save modules for next steps
- step:
name: Build
script:
- npm run build:production
artifacts:
- dist/** # Save build for next steps
- step:
name: upload
script:
- pipe: atlassian/aws-code-deploy:0.5.3
variables:
APPLICATION_NAME: $APPLICATION_NAME
S3_BUCKET: $S3_BUCKET
COMMAND: 'upload'
ZIP_FILE: 'myapp.zip'
VERSION_LABEL: 'my-app-1.0.0'
- step:
name: deploy
script:
- pipe: atlassian/aws-code-deploy:0.5.3
variables:
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
APPLICATION_NAME: $APPLICATION_NAME
DEPLOYMENT_GROUP: $DEPLOYMENT_GROUP
S3_BUCKET: $S3_BUCKET
COMMAND: 'deploy'
WAIT: 'true'
VERSION_LABEL: 'my-app-1.0.0'
IGNORE_APPLICATION_STOP_FAILURES: 'true'
FILE_EXISTS_BEHAVIOR: 'OVERWRITE'
Hi Deepak and welcome to the community!
Looking at your bitbucket-pipelines.yml file, I don't see any file myapp.zip being generated, which I believe is the reason for the error that you are getting.
In order for this to work, you will need to:
Please feel free to let me know if this helps and if you have any other questions.
Kind regards,
Theodora
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.