repository provider for bitbucket
- BitbucketBranch
- hash
- BitbucketHook
- BitbucketProvider
- BitbucketPullRequest
- BitbucketRepositoryGroup
- BitbucketRepository
Extends Branch
Branch of a bitbucket repository.
-
name
string
Returns Promise<ContentEntry>
-
patterns
Commit entries
Returns Promise
options
Returns string
Extends Hook
Extends MultiGroupProvider
Provider for bitbucket repositories.
Supported name schemes are
- https://user:aSecret@bitbucket.org/owner/repo-name.git
- git+https://user:aSecret@bitbucket.org/owner/repo-name.git
- git@bitbucket.org:owner/repo-name.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
All possible base urls.
Returns Array<string> common base urls of all repositories
https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories
We are called bitbucket.
Returns string bitbucket
Default instance env name prefix.
Default configuration as given for the cloud privider.
Returns Object
-
options
Object
Returns boolean true if authentication is present
Extends PullRequest
Pull request inside bitbucket
-
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
-
repository
Repository -
filter
Object?
Returns AsyncIterable<PullRequest>
-
source
-
destination
-
options
Extends RepositoryGroup
Returns Promise<Repository> newly created repository
Extends Repository
a repository hosted on bitbucket
Deliver the url of home page.
Returns string '.../overwiew'
Deliver the url of issue tracking system.
Returns string '.../issues'
https://developer.atlassian.com/cloud/bitbucket/rest/api-group-refs/#api-group-refs
-
name
string of the new branch to create -
from
BitbucketBranch (optional, defaultthis.defaultBranch
) -
options
Object-
options.message
string?
-
https://docs.atlassian.com/bitbucket-server/rest/5.8.0/bitbucket-branch-rest.html#idm45555984542992 https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/refs/branches/%7Bname%7D#delete
-
name
With npm do:
npm install bitbucket-repository-provider
BSD-2-Clause