Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Configure bitbucket-pipelines to only run on self-hosted runner if the runner is ONLINE.

ciaran.welsh July 15, 2022

Is it possible to only run self-hosted runner on bitbucket-pipelines if the runner is online? Sometimes these computers will not be on and I do not want the commit to fail the tests in this case. 

Thanks

1 answer

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

Hi Ciaran,

I'm afraid that it is not possible to configure this; if you don’t have any online runners in the repository or workspace that match all labels, then the step will fail.

You can rerun any failed builds/steps when the runner is online. If you have configured builds to run on every push to a certain branch, you could also use custom pipelines instead, and then run the builds manually once you have ensured that the runner is online.

Kind regards,
Theodora

Suggest an answer

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

Atlassian Community Events