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

Pipelines occasionally fail

Right now the Bitbucket Pipeline runs Cypress tests after it gets done running our regular tests. This depends on Netlify's build getting done before Cypress kicks off, and this "race condition" is likely the source of the pipeline failures. 

Is there a way to have the pipeline wait until the Netlify build is done?

Thanks!

1 answer

0 votes
rgomis Atlassian Team Jan 16, 2020

Hi @atsao1 ,

The simplest way is to have the pipeline polling until the build is ready. We do something similar in our AWS ElasticBeanstalk pipe: https://bitbucket.org/atlassian/aws-elasticbeanstalk-deploy/src/23a73585a7cb622171c42f62b9938609f5cfca08/pipe/pipe.sh#lines-126 in which we added an option to poll the API until the deployment is completed.

Regards, 

Raul

Suggest an answer

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

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,031 views 0 3
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