Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,128
Community Members
 
Community Events
165
Community Groups

Npm Run Build Does not Fail Pipelines on Build Error (for React builds)

We have created a pipeline to build a react website.

 

We followed steps to create a pipeline similar to the instructions on this page.

https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/

We are specifically using the image:

image: node:10.15.3

We have steps like this:

step: &buildTest
script:
- npm install
- npm run build

 If we have pushed up to bitbucket and forgot to add a file in the push, the build will fail.

The pipeline does not pick up this failure and just keeps running (and using all our build minutes, until we either catch it or it times out.)

It would be extremely useful if the pipelines could detect these failures to stop the pipeline (and/or if we could decide the timeout values for these pipelines).

Screen Shot 2021-07-15 at 12.01.07 AM.png

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,208 views 2 9
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