7.0.1 • Published 4 months ago

screwdriver-scm-bitbucket v7.0.1

Weekly downloads
9
License
BSD-3-Clause
Repository
github
Last release
4 months ago

scm-bitbucket

Version Downloads Build Status Open Issues License

This scm plugin extends the scm-base-class, and provides methods to fetch and update data in Bitbucket.

Usage

npm install screwdriver-scm-bitbucket

Initialization

The class has a variety of knobs to tweak when interacting with Bitbucket.org.

ParameterTypeDefaultDescription
configObjectConfiguration Object
config.oauthClientIdStringOAuth Client ID provided by Bitbucket application
config.oauthClientSecretStringOAuth Client Secret provided by Bitbucket application
config.usernameStringsd-buildbotBitbucket username for checkout
config.emailStringdev-null@screwdriver.cdBitbucket user email for checkout
config.httpsBooleanfalseIs the Screwdriver API running over HTTPS
config.readOnlyObject{}Config with readOnly info: enabled, username, accessToken, cloneType
config.fuseboxObject{}Circuit Breaker configuration
const scm = new BitbucketScm({
    oauthClientId: 'your-client-id',
    oauthClientSecret: 'your-client-secret'
});

Methods

getScmContexts

No parameters are required.

Expected Outcome

A single element array of ScmContext(ex: ['bitbucket:bitbucket.org']), which will be a unique identifier for the scm. Since scm-bitbucket supports only 'bitbucket.org' now, this method returns fixed value.

For more information on the exposed methods please see the scm-base-class.

Testing

npm test

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

6.1.0

7 months ago

7.0.0

4 months ago

7.0.1

4 months ago

6.0.1

8 months ago

6.0.0

10 months ago

5.1.1

1 year ago

5.1.0

2 years ago

5.0.1

2 years ago

5.0.0

3 years ago

4.6.1

3 years ago

4.6.0

3 years ago

4.5.2

3 years ago

4.5.1

4 years ago

4.5.0

4 years ago

4.4.0

4 years ago

4.3.0

4 years ago

4.2.0

4 years ago

4.1.3

4 years ago

4.1.2

5 years ago

4.1.1

5 years ago

4.1.0

5 years ago

4.0.0

5 years ago

3.4.12

5 years ago

3.4.11

5 years ago

3.4.10

5 years ago

3.4.9

6 years ago

3.4.8

6 years ago

3.4.7

6 years ago

3.4.6

6 years ago

3.4.5

6 years ago

3.4.4

6 years ago

3.4.3

6 years ago

3.4.2

6 years ago

3.4.1

7 years ago

3.4.0

7 years ago

3.3.3

7 years ago

3.3.2

7 years ago

3.3.1

7 years ago

3.3.0

7 years ago

3.2.0

7 years ago

3.1.0

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.9.3

7 years ago

2.9.2

7 years ago

2.9.1

8 years ago

2.9.0

8 years ago

2.8.1

8 years ago

2.8.0

8 years ago

2.7.0

8 years ago

2.6.3

8 years ago

2.6.2

8 years ago

2.6.1

8 years ago

2.6.0

8 years ago

2.5.2

8 years ago

2.5.1

9 years ago

2.5.0

9 years ago

2.4.1

9 years ago

2.4.0

9 years ago

2.3.2

9 years ago

2.3.1

9 years ago

2.3.0

9 years ago

2.2.3

9 years ago

2.2.2

9 years ago

2.2.1

9 years ago

2.2.0

9 years ago

2.1.3

9 years ago

2.1.2

9 years ago

2.1.1

9 years ago

2.1.0

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.0.1

9 years ago