1
0
Fork 0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-30 04:10:32 +00:00
woodpecker/doc/setup/bitbucket.md

24 lines
843 B
Markdown
Raw Normal View History

2015-07-11 00:40:03 +00:00
> **NOTE** Bitbucket integration has not yet been merged into 0.4, but is planned in the near future
2015-07-07 04:13:50 +00:00
# Bitbucket
2015-05-24 21:13:56 +00:00
Drone comes with built-in support for Bitbucket. To enable and configure Bitbucket, you should set the following environment variables:
2015-07-07 04:13:50 +00:00
2015-05-24 21:13:56 +00:00
```
REMOTE_DRIVER="bitbucket"
2015-05-24 21:13:56 +00:00
BITBUCKET_KEY="c0aaff74c060ff4a950d"
BITBUCKET_SECRET="1ac1eae5ff1b490892f5"
BITBUCKET_OPEN="true"
BITBUCKET_ORGS="drone,drone-plugins"
2015-05-24 21:13:56 +00:00
```
## Bitbucket settings
2015-05-24 21:13:56 +00:00
2015-07-11 00:40:03 +00:00
This section lists all environment variables used to configure Bitbucket.
2015-05-24 21:13:56 +00:00
* `BITBUCKET_KEY` oauth client id for registered application
* `BITBUCKET_SECRET` oauth client secret for registered application
* `BITBUCKET_OPEN=false` allows users to self-register. Defaults to false for security reasons.
* `BITBUCKET_ORGS=drone,docker` restricts access to these Bitbucket organizations. **Optional**