feat: Collect Bitbucket BITBUCKET_STEP_RUN_NUMBER (#9292)

This commit is contained in:
Alejandro Estrada
2020-11-24 10:18:45 -05:00
committed by GitHub
parent ca25a27449
commit c4445fa356
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -164,6 +164,7 @@ const _providerCiParams = () => {
'BITBUCKET_REPO_OWNER',
'BITBUCKET_BUILD_NUMBER',
'BITBUCKET_PARALLEL_STEP',
'BITBUCKET_STEP_RUN_NUMBER',
]),
buildkite: extract([
'BUILDKITE_REPO',
@@ -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({