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

Build not failing when npm returns a non zero exit code

As per screenshot, I have a build step that is not reporting a failure even though my build script is failing. The output even says that '/bin/sh -c npm run tsc' returned a non-zero exit code. The reason for the failure was my package.json was missing and therefore the script could not be found.

This is a problem as I need to know that my build failed.



1 answer

0 votes

Hi @aaronjaden ,

I would suggest opening a ticket with the support team for this issue. It is difficult to say why this is happening without examining the full Pipelines log and possibly extra logs from our side.

If there is a support ticket open, the engineer working on your case will be able to access the repo and logs and assist in troubleshooting this.

You can open a support ticket via, in "What can we help you with" select "Technical issues and bugs" and then Bitbucket Cloud as product.

Please make sure to include the URL of a build with this issue, in the "Give us more details" field. The support ticket will be visible only to you and Atlassian staff.

Please feel free to let me know if you have any questions.

Kind regards,

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

236 views 2 5
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