explanation of self.hosted

Kieran Donovan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2024

Could you please give more context to the interpretation of self.hosted within the pipilines.yml.

 

i.e.

- is this any machine from a pool of runners that have been added as repository runners and authenticated ?

 

- if I submit a pull request from a machine that is not a registered runner, should the pipeline still execute on an existing registered runner ?

 

Thanks for your help.

 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 14, 2024

Hi Kieran,

Any runners that you create will have a list of defined labels that are configured as part of the setup process. When you call the self.hosted parameter in your YML config, Bitbucket will check the current ONLINE runners and execute builds on any available runner that matches those labels - more information may be found here:

If the runner is not running, or is not registered in your workspace/repository runners - the build will not execute on this runner.

I hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

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

Atlassian Community Events