diff --git a/packages/server/lib/util/ci_provider.js b/packages/server/lib/util/ci_provider.js index 1d72b5d883..aafd3c97f0 100644 --- a/packages/server/lib/util/ci_provider.js +++ b/packages/server/lib/util/ci_provider.js @@ -164,6 +164,7 @@ const _providerCiParams = () => { 'BITBUCKET_REPO_OWNER', 'BITBUCKET_BUILD_NUMBER', 'BITBUCKET_PARALLEL_STEP', + 'BITBUCKET_STEP_RUN_NUMBER', ]), buildkite: extract([ 'BUILDKITE_REPO', diff --git a/packages/server/test/unit/ci_provider_spec.js b/packages/server/test/unit/ci_provider_spec.js index d9c0a781a1..4722421b0f 100644 --- a/packages/server/test/unit/ci_provider_spec.js +++ b/packages/server/test/unit/ci_provider_spec.js @@ -175,6 +175,7 @@ describe('lib/util/ci_provider', () => { BITBUCKET_REPO_OWNER: 'bitbucketRepoOwner', BITBUCKET_REPO_SLUG: 'bitbucketRepoSlug', BITBUCKET_PARALLEL_STEP: 'bitbucketParallelStep', + BITBUCKET_STEP_RUN_NUMBER: 'bitbucketStepRunNumber', // git information BITBUCKET_COMMIT: 'bitbucketCommit', @@ -187,6 +188,7 @@ describe('lib/util/ci_provider', () => { bitbucketRepoOwner: 'bitbucketRepoOwner', bitbucketRepoSlug: 'bitbucketRepoSlug', bitbucketParallelStep: 'bitbucketParallelStep', + bitbucketStepRunNumber: 'bitbucketStepRunNumber', }) expectsCommitParams({