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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,461,714
Community Members
 
Community Events
176
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

Atlassian Community Events