Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Select runs-on for a step dynamically

Jeff Miles October 12, 2022

I'd like to be able to select the "runs-on" values for a step dynamically, so that I do not have to hard-code the repeated use of a step against different runners.

Is this currently possible within the Bitbucket Pipelines yaml? I thought about using YAML anchors however there isn't any conditional logic possible there unless it is within a '-script' section.

 

Edit: I have come across this Jira Issue that is related; hopefully it gets some votes!

https://jira.atlassian.com/browse/BCLOUD-21510

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 17, 2022

Hi Jeff,

This feature is not available as you figured out. I assume you already added your vote to the feature request, you can also add yourself as a watcher (by selecting Start watching this issue) if you'd like to get notified via email on updates. When there is an update, it's going to be posted there!

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events