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