Bitbucket Pipelines allows you to define a Docker image to use on the step (as well as globally). The current limitation is that you will need to define a different Docker image on each branch (but in the future when there are multiple steps in a Pipeline you can have each step have a different Docker image).
image: my-global-image:version-1 pipelines: branches: branch-1: - step: image: ubuntu:16.04 # This will be used instead of my-global-image. script: - ./runTests branch-2: - step: image: ubuntu:14.04 # This will be used instead of my-global-image. script: - ./runTests
More information on configuring bitbucket-pipelines.yml and branches can be found here:
In regards to your specific use-case of testing on several OS environments, keep in mind that Bitbucket Pipelines only supports Linux at the moment (this might limit what you were hoping to do).
Hope that helps.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team! We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...
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!
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