The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

RUNNER_UUID environment variable availability

sreeram_anikodemahadevan
October 20, 2025

Dear Community
I have a self hosted windows runner.
Here an stripped down version of my yaml


pipelines:
default:
- step:
runs-on:
- self.hosted
- windows
name: Echo Runner UUID
script:
- Write-Output "The Runner UUID is: $env:RUNNER_UUID"

 Is it possible to get the RUNNER_UUID inside the script block? The help doc says its there for linux OS, but no mention of window OS.


Can you please advice?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
sreeram_anikodemahadevan
October 20, 2025

I think I found my answer
The key was to set an environment variable env:RUNNER_UUID before the .\start.ps1 was called.
And then use that environment variable as the value for the -runnerUuid{$env:RUNNER_UUID} when you call .\start.ps1

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events