Skip to content

A CDK Construct library to work with BitBucket Server (Stash)

License

Notifications You must be signed in to change notification settings

pgarbe/cdk-bitbucket-server

Repository files navigation

CDK BitBucket Server Constructs

An CDK Construct to create repositories, webhooks and maybe more on BitBucket Server (formarly Stash). It's not working with BitBucket Cloud.

How to use it

See also examples folder. bitbucket-backend-stack creates the custom resource and shares the ServiceToken as output. bitbucket-stack uses ServiceToken and creates new BitBucket resources.

Ensure to have SSM Parameters config/bitbucket/host, config/bitbucket/username and config/bitbucket/password.

cdk deploy --app "npx ts-node bitbucket-backend-stack.ts"
cdk deploy --app "npx ts-node bitbucket-stack.ts"

Supported resources

[x] Repository
[x] WebHook
[x] Project

Next steps

[] Support cross account usage (see also #8470 ) [] Explicitly handle update of resources [] Explicitly handle delete of resources (using retention policy)

How to release

Set a new version with npm version command and push changes to GitHub.

npm version x.x.x
git push

About

A CDK Construct library to work with BitBucket Server (Stash)

Resources

License

Stars

Watchers

Forks

Packages

No packages published