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