Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

AWS Elastic Beanstalk deploy fails silently, but shows success

I'm a bit at a loss. I'm using AWS Elastic Beanstalk Pipe with BitBucketi pipelines. Here's our pipeline, with minimal redaction and some simplification since this is a public forum.

image: node:6.9.4

- step:
name: Build
- node
script: # Modify the commands below to build your repository.
- npm install
- API_URL=[redacted] npm run build
- mv dist dist
- dist
- step:
name: Zip
image: atlassian/default-image:2
- apt-get install zip
- cd dist
- zip -r ../ *
- step:
name: Deploy to Staging
deployment: staging
- pipe: atlassian/aws-elasticbeanstalk-deploy:0.2.3
APPLICATION_NAME: '[redacted]'
COMMAND: 'only-deploy'
ENVIRONMENT_NAME: '[redacted]'
WAIT: 'true'
DEBUG: 'true'

 Upon using this pipeline, it passes with a nice green checkmark.


However, the deployment never appears to happen! There's nothing uploaded in our application versions, there's no changes to the actual environment. BitBucket Pipes is showing success, but no deployment has happened.

What gives?


1 answer

0 votes
Raul Gomis Atlassian Team Mar 05, 2019

Hey @kenkinder ,

There is a typo in the example we have in our docs. Valid values for `COMMAND` are `deploy-only` and `upload-only` (default to `all`). We have a fix on its way:

According to your example (i.e. having only have one environment to deploy to) I would recommend not passing any command parameter (which would perform upload and deploy at the same time). 

If you had more than one environment to deploy to, I would recommend using the COMMAND: `upload-only` in the ZIP step. And then using the `deploy-only` in subsequent deployment steps, to avoid uploading the file and generating a version each time per environment.

See an example with multiple environments here:

Does it make sense?



Hey @kenkinder ,

The fix is out! if you use the new version 0.2.5, you will now see that docs are fixed and the parameters will be validated in case there is wrong input.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

3,761 views 64 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you