repository provider for bitbucket
npm install bitbucket-repository-provider








repository provider for bitbucket
* BitbucketBranch
* entry
* Parameters
* entries
* Parameters
* commit
* Parameters
* attributes
* hash
* BitbucketHook
* BitbucketProvider
* Parameters
* repositoryBases
* initializeRepositories
* name
* instanceIdentifier
* attributes
* BitbucketPullRequest
* \_merge
* Parameters
* list
* Parameters
* open
* Parameters
* BitbucketRepositoryGroup
* createRepository
* Parameters
* BitbucketRepository
* Parameters
* Properties
* homePageURL
* issuesURL
* update
* initializeHooks
* initializeBranches
* createBranch
* Parameters
* deleteBranch
* Parameters
Extends Branch
Branch of a bitbucket repository.
#### Parameters
* name string
Returns Promise\
#### Parameters
* patterns (Array<string> | string)
Commit entries
#### Parameters
* message string commit message
* updates Array\
* options Object?
Returns Promise
options
Returns string
Extends Hook
Extends MultiGroupProvider
Provider for bitbucket repositories.
Supported name schemes are
*
* git+
*
* owner/repo-name
Known environment variables
* BITBUCKET\_API api
* BITBUCKET\_TOKEN api token
* BITBUCKET\_USERNAME username
* BITBUCKET\_APP\_PASSWORD password
* BITBUCKET\_PASSWORD password
* config Object
* config.url string provider scm base
* config.api string provider api base
* config.authentication Object authentication
* config.authentication.type string
* config.authentication.username string
* config.authentication.password string
All possible base urls.
Returns Array<string> common base urls of all repositories
We are called bitbucket.
Returns string bitbucket
Default instance env name prefix.
Default configuration as given for the cloud privider.
Returns Object
Extends PullRequest
Pull request inside bitbucket
#### Parameters
* merge_strategy (optional, default "merge_commit")
List all pull request for a given repo.
Result will be filtered by source branch, destination branch and states
#### Parameters
* repository Repository
* filter Object?
* filter.source Branch?
* filter.destination Branch?
* filter.states Set<string>?
Returns AsyncIterable\
#### Parameters
* source
* destination
* options
Extends RepositoryGroup
#### Parameters
* name string
* options Object?
Returns Promise\
Extends Repository
a repository hosted on bitbucket
* owner RepositoryOwner
* name string
* options Object
* options.api string?
* options.group string?
* api string
* group string
* user string
Deliver the url of home page.
Returns string '.../overwiew'
Deliver the url of issue tracking system.
Returns string '.../issues'
* See:
* See:
Create a new branch
#### Parameters
* name string of the new branch to create
* from BitbucketBranch (optional, default this.defaultBranch)
* options Object
* options.message string?
#### Parameters
* name
With npm do:
``shell``
npm install bitbucket-repository-provider
BSD-2-Clause