Canarys | IT Services

Blogs

How to Set Up Self-Hosted Bitbucket Runners: A Complete Guide

Date:
Author:
Share

In-order to create a runner you need to be a Repository Admin and admin to the server where you are going to install runner.

Navigate to the repository where you want to create the Self-Hosted runner.

Under Repository, scroll on the left side to navigate to “Repository Settings”

Under repository settings, navigate to the pipelines, under that you can find “Runners”

Once you click over runners, you be redirected to below page, where you will option to “Add Runner”.

Once you click on add runner, then you will get a below pop-up where you can select Runner OS, Runner Name and Runner Labels.

Under System and Architecture, you can select the preferred OS.

Here i am selecting Windows OS.

Once you click on next you will be redirected to below screen where you see commands that needs to be run in PowerShell.

Here I am running the “#download the runner zip” command.

This will take a while to download.

Once done I will run the unzip command and then run “launch the runner” command.

Once done you will see the status as runner is online.

Note: Please save “Launch the Runner” command, you may need it when runner goes offline.

Now when we click over Finish, you will see below screen where sample script to select the runner is present.

Once you click on Finish, you will see below screen where you can see the Runners Details.

In this way you can setup your Bitbucket Runners which let you run CI/CD pipelines on your own machines. They give you more control, access to internal resources, and can save costs.

As an Atlassian Gold Partner, we help organizations maximize the value of Atlassian tools through expert implementation, customization, and reliable support across the entire Atlassian ecosystem. Partner with us to enhance collaboration, streamline workflows, and drive business success. Contact us at atlassiansupport@ecanarys.com to get started.

Leave a Reply

Your email address will not be published. Required fields are marked *

Reach Us

With Canarys,
Let’s Plan. Grow. Strive. Succeed.