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

Build not failing when npm returns a non zero exit code

aaronjaden
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 9, 2021

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.

 

image.png

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 15, 2021

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 https://support.atlassian.com/contact/#/, 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,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events