Does bitbucket pipelines support parallelization

I want to run my (selenium) tests in parallel so that I can run the same tests against different browsers. How would I accomplish that?

1 answer

0 vote

Hi Jim, do you mean running Selenium inside Bitbucket Pipelines? This is possible and in fact we test bitbucket pipelines itself in this way. This would be considered an advanced setup and there's not a lot of documentation around it.

For the best experience, we'd recommend using one of our partners like Browserstack; they even have a repo ready to go https://bitbucket.org/browserstack/bitbucket-pipelines.

Hope that helps!

Ana

Hi @Ana Retamal Ortiz!

Thanks for replying.

Actually, so are we - but we use SauceLabs. :)

But what I want to do is to be able to kick off concurrent runs, like so (in pseudo code):

 

Run tests on SauceLabs against Firefox

Run tests on SauceLabs against Chrome

 

 

Those two steps should happen concurrently, instead of in sequence. Mainly to save time.

 

I can solve it using a script and spawning child-processes, but it would be a better solution if the pipelines supported it (like for instance GOCD does).

 

Hope that makes my question clearer. :)

 

Cheers

Hi Jim! I've talked to one of my colleagues from the Pipelines team and he told me that, currently, we have no built in support for running tests in parallel. We have a Feature request for that and you can vote for it at Allow optional concurrent parallel script.

Let us know if you have any other questions :)

Regards,

Ana

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,246 views 26 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you