7.0.1 • Published 1 year ago

screwdriver-scm-bitbucket v7.0.1

Weekly downloads
9
License
BSD-3-Clause
Repository
github
Last release
1 year 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

2 years ago

7.0.0

1 year ago

7.0.1

1 year ago

6.0.1

2 years ago

6.0.0

2 years ago

5.1.1

2 years ago

5.1.0

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

4.6.1

4 years ago

4.6.0

4 years ago

4.5.2

4 years ago

4.5.1

5 years ago

4.5.0

5 years ago

4.4.0

5 years ago

4.3.0

5 years ago

4.2.0

5 years ago

4.1.3

5 years ago

4.1.2

5 years ago

4.1.1

6 years ago

4.1.0

6 years ago

4.0.0

6 years ago

3.4.12

6 years ago

3.4.11

6 years ago

3.4.10

6 years ago

3.4.9

7 years ago

3.4.8

7 years ago

3.4.7

7 years ago

3.4.6

7 years ago

3.4.5

7 years ago

3.4.4

7 years ago

3.4.3

7 years ago

3.4.2

7 years ago

3.4.1

8 years ago

3.4.0

8 years ago

3.3.3

8 years ago

3.3.2

8 years ago

3.3.1

8 years ago

3.3.0

8 years ago

3.2.0

8 years ago

3.1.0

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.9.3

8 years ago

2.9.2

8 years ago

2.9.1

9 years ago

2.9.0

9 years ago

2.8.1

9 years ago

2.8.0

9 years ago

2.7.0

9 years ago

2.6.3

9 years ago

2.6.2

9 years ago

2.6.1

9 years ago

2.6.0

9 years ago

2.5.2

9 years ago

2.5.1

9 years ago

2.5.0

9 years ago

2.4.1

9 years ago

2.4.0

10 years ago

2.3.2

10 years ago

2.3.1

10 years ago

2.3.0

10 years ago

2.2.3

10 years ago

2.2.2

10 years ago

2.2.1

10 years ago

2.2.0

10 years ago

2.1.3

10 years ago

2.1.2

10 years ago

2.1.1

10 years ago

2.1.0

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.1

10 years ago