Add the Bitbucket Server integration
The integration gives Astrolabe the address of your Bitbucket Server and a token to read it. The catalog reads your repositories with it: see Import your Bitbucket Server repositories.
You do it once, as an administrator.
Before you start
You need an access token of your Bitbucket Server, with read access to the projects. In Bitbucket, you create it under Manage account › HTTP access tokens. This step was not checked on a live instance.
🔧 Add the integration
-
In the left sidebar, at the bottom, click Administration.
-
Under PLATFORM, click Company connections.
-
On the Bitbucket Server card, click Configure.
-
Top right, click Add Token.
-
Fill in the form:
Field What to enter Example Name A name for you, shown in the token list. Already filled with Bitbucket Server.Bitbucket ServerBitbucket Server host The address of your server, without https://and without a path. It must be the exact name the server answers to.bitbucket.example.comToken The access token -
Click Test connection.
-
Click Add. The form warns: The instance will restart after confirmation. Wait a few seconds.
The token is in the list. This step was not checked on a live instance with a working token.
Hover the ? next to a field to see what it expects, with an example.
The optional setting
Under Optional settings, API Base URL is the full address of the REST API, with https://. Leave it
empty: Astrolabe then uses https://<host>/rest/api/1.0.
✅ That's it!