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

Create the zip file artifact

I have added a elasticbeanstalk pipe to a bitbucket pipeline but I cannot find any documentation on how the zip file should be created or more details on whether the rest of the steps in my current deployment process(eb cli) will happen. Currently when I deploy using the eb cli this happens automatically.  Is there a way to run the eb deploy script or something?

1 answer

1 accepted

1 vote
Answer accepted
rgomis Atlassian Team Jun 11, 2019

Hi @joel-ewg-org ,

You can see this example: to know how to create the zip file to pass it to the pipe. It's pretty simple! 

This example is using multiple environments, that's why it's split into 'upload-only' and 'deploy-only' commands. 



Thanks! I see that there is a line that zips the file in the Build and Test step, which for some reason I didn't notice before. It would be helpful if there was some mention of this on the README here.

zip is not installed in the image i am using(ruby:2.6.1) for my test step. Can I use a different image for the deploy step or should I install in the deploy step script? If the later, any idea which pkg manager to use (yum, apt, etc)?

rgomis Atlassian Team Jun 12, 2019

Hi @joel-ewg-org ,

You can totally use different images per step. You can find more details here:



I am successfully creating the zip file but receive this error:

 An error occurred (SignatureDoesNotMatch) when calling the CreateMultipartUpload operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.


Any idea exactly what this refers to and how to fix it?

my pipline  step is as follows:


 - step: 
image: atlassian/default-image:2
name: Deployment to Production
deployment: production
trigger: manual
- zip -r * .[^.]*
- pipe: atlassian/aws-elasticbeanstalk-deploy:0.3.0
WAIT: "true" 
rgomis Atlassian Team Jun 24, 2019

Hey @joel-ewg-org ,

Weird! is it failing consistently? can you try regenerating your credentials and see if it is still happening? 

Btw, Just a note: this command 

zip -r * .[^.]* 

would also zip the contents of your .git folder, which I wouldn't recommend it unless you need it. 




Suggest an answer

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

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...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...

1,044 views 0 3
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