Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,317
Community Members
 
Community Events
165
Community Groups

Per runner environmental variables

Hello,

Can you consider adding support for setting environmental variables per runner?

The use case I have is:

  • a pool of runners, each connected to a test device
  • each runner has the same runner tag
  • when a step runs it uses any free runner with the given tag but I need some settings that is runner specific like the IP address of the test device.

If not can you make the runner name available in the steps as an environmental variable? Then I can map the runner name to the test device config.

I tried adding more environmental variables when starting the runner in the docker run command but they are not passed to the steps.

Thanks
Dylan

1 answer

0 votes

@Dylan Rajaratnam That's a valid use case. Exposing the name and tags of the runners in a step would be useful, I will add it to our backlog. Thanks for trying the runner and providing valuable feedback. 

Suggest an answer

Log in or Sign up to answer
TAGS

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