Bitbucket runner
Asked by manoj kumar:

Hi Team,

I wan to implement "runner" in Bitbucket and I have admin access on one of the bitbucket repo too but I am unable to see runner option in repository setting.

What could be the issue ?

How to check if runner option is activated or not in our account ?

or suggest how to get runner option in bitbucket.

Regards,

Manoj Kumar


Answers:
author: Theodora Boudale
body: Hi [@manoj kumar](/t5/user/viewprofilepage/user-id/5038264),

I believe the reason may be that no other repo in that workspace has ever used Pipelines.

You can select the **Pipelines** option from the left sidebar when viewing the repo:

![Screenshot 2023-02-01 at 16.01.20.png](https://community.atlassian.com/t5/image/serverpage/image-id/237642iE20D84D189F32523/image-size/large?v=v2&px=999 "Screenshot 2023-02-01 at 16.01.20.png")

Then, create and commit a bitbucket-pipelines.yml file in the repo from that page, and afterwards you should be able to see the option to create a runner in the **Repository settings**.

Please keep in mind that if you don't use the following option in your bitbucket-pipelines.yml file's steps

```
runs-on:
  - 'self.hosted'
```

and if the pipeline you define there is the default one or one running on the repo's main branch, then the first Pipelines build will run in our own infrastructure and consume the workspace's billing minutes.

If you don't want that, you can add the above definition for self-hosted in the steps, and then the first build will fail (since no runner will be available) without consuming build minutes.

Please feel free to let me know how it goes and if you need anything further.

Kind regards,  
Theodora

comments: author: manoj kumar
body: Hi [Theodora](https://community.atlassian.com/t5/user/viewprofilepage/user-id/818086),

we are using self managed bitbucket which is hosted on our servers.

and came to know that this feature is only available in Bitbucket SaaS version. is this correct ?

Regards,

Manoj kumar


author: Theodora Boudale
body: Hi Manoj,

Yes, this is correct. Pipelines and Pipelines Runners are only available for Bitbucket Cloud (repos hosted in <https://bitbucket.org/>) and not for Bitbucket Server or Data Center.

If you are using Bitbucket Server / Data Center, you can look into [Bamboo](https://www.atlassian.com/software/bamboo). It is a CI/CD tool that you can integrate with your self-hosted instance.

Kind regards,  
Theodora


author: Mahesh Shinde
body: Hi [@manoj kumar](/t5/user/viewprofilepage/user-id/5038264) :

Please, refer this document, I hope it will solve your issue:

Link: <https://support.atlassian.com/bitbucket-cloud/docs/adding-a-new-runner-in-bitbucket/>

comments: author: manoj kumar
body: Thanks Mahesh for sharing the article but in our Bitbucket account Pipeline option is missing.

As runner comes under Pipeline section in Bitbucket but we cant see pipeline section in repo setting.

Regards,

Manoj Kumar


author: manoj kumar
body: Hi Mahesh

we are using self managed bitbucket which is hosted on our servers.

and came to know that this feature is only available in Bitbucket SaaS version. is this correct ?

Regards,

Manoj kumar


author: Mahesh Shinde
body: Hi Manoj,

If you are using self managed Bitbucket server then its not available, in the request you have mentioned Deployment type: CLOUD and TAGS: Bitbucket Cloud which confuse us earlier.

Unfortunately, you can't get this feature in self hosted Bitbucket Server/Datacenter product.

Regards,

Mahesh Shinde


Tags: bitbucket-cloud

bitbucket-runners

cloud