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!
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.