Bitbucket Server
A plugin for Atlassian's Bitbucket Server.
Features
Uses the Bitbucket Server’s APIs to find Git repos containing a kroncile.yaml
file.
Only supports self-hosted Bitbucket Server instances and not the cloud version of Bitbucket, which has an incompatible API.
Plugin configuration
The following environment variable are passed to the kronicle-serice
container to configure the plugin
Example configuration
PLUGINS_BITBUCKET_SERVER_ENABLED=true
PLUGINS_BITBUCKET_SERVER_HOSTS_0_BASE_URL=https://bitbucketserver1.example.com
PLUGINS_BITBUCKET_SERVER_HOSTS_0_USERNAME=some-bitbucket-server-user
PLUGINS_BITBUCKET_SERVER_HOSTS_0_PASSWORD=some-bitbucket-server-user-password
PLUGINS_BITBUCKET_SERVER_HOSTS_1_BASE_URL=https://bitbucketserver2.example.com
PLUGINS_BITBUCKET_SERVER_HOSTS_1_USERNAME=some-other-bitbucket-server-user
PLUGINS_BITBUCKET_SERVER_HOSTS_1_PASSWORD=some-other-bitbucket-server-user-password
Mandatory environment variables
PLUGINS_BITBUCKET_SERVER_ENABLED=true
Set to “true” to enable the plugin
PLUGINS_BITBUCKET_SERVER_HOSTS_{index}_BASE_URL=https://bitbucketserver.example.com
The base URL of a self-hosted Bitbucket Server instance
PLUGINS_BITBUCKET_SERVER_HOSTS_{index}_USERNAME=some-bitbucket-server-user
Username for calling the Bitbucket Server’s API. The plugin will load all Git repos that this user has access to
PLUGINS_BITBUCKET_SERVER_HOSTS_{index}_PASSWORD=some-bitbucket-server-user-password
The password for the user account