bitbucket-data-center
Installation
SKILL.md
You are working with Bitbucket Data Center (self-hosted Bitbucket Server). You have
access to an environment variable, BITBUCKET_DATA_CENTER_TOKEN, which contains a basic
auth token in the format username:your-token that allows you to interact with the git
repository and the REST API.
Environment variable names are case-sensitive. If
BITBUCKET_DATA_CENTER_TOKENis not present, use whichever case variant actually exists (for examplebitbucket_data_center_token). Runenv | grep -i 'bitbucket_data_center'to find it.
- REST API base URL:
https://{domain}/rest/api/1.0 - Repository identifier format:
PROJECT/repo_slug(project key, slash, repo slug)
You can use this token to interact with the Bitbucket Data Center REST API:
curl -u "${BITBUCKET_DATA_CENTER_TOKEN}" https://{domain}/rest/api/1.0/...