Table of Contents
Updated by Boaz Dremer
BitBucket server (on-prem) connection guide
In order to connect your LinearB application to BitBucket server (on-prem) you will need to do the following:
Select BitBucket Server as your Git provider
In the source control selection dialog select BitBucket Server.
If your BitBucket Server instance is available from the public internet, you can skip this step.
In order for LinearB to be able to access your private network, you will need to add LinearB’s public IP as a whitelisted source in your network firewall.
- LinearB’s public IP addresses:
In case that your network is behind a VPN, it is standard to have some reverse proxy that allows LinearB specific access to BitBucket Server.
Insert your BitBucket server URL
Once you whitelist LinearB IP in your network insert your BitBucket's server URL. LinearB will automatically check connectivity to your BitBucket server. Once the connection is established you will be able to move to the next stage
Create a Personal Access Token
Under your account in BitBucket Server, browse to Manage Account -> Personal Access Tokens (Alternatively you can browse to the /plugins/servlet/access-tokens/manage route)
Press the Create a token button, give it a descriptive name and add Read permissions.
Copy the token to a secure file and hit continue.
Important: You will no longer be able to view the value of the token once you hit continue. Make sure you copied it first.
Paste the access token to the text box. LinearB will automatically check the validity of the access token. Once the access token is validated. You will be able to move to the next stage (Repository selection)