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

Pipelines occasionally fail

atsao1 December 3, 2019

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
Raul Gomis
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 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
AUG Leaders

Atlassian Community Events