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

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
Raul Gomis 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 Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

423 views 13 14
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