Skip to content

Detect Bitbucket Pipelines as a build server - #865

Merged
SimonCropp merged 1 commit into
VerifyTests:mainfrom
lahma:bitbucket-pipelines
Sep 10, 2026
Merged

Detect Bitbucket Pipelines as a build server#865
SimonCropp merged 1 commit into
VerifyTests:mainfrom
lahma:bitbucket-pipelines

Conversation

@lahma

@lahma lahma commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

BuildServerDetector did not know about Bitbucket Pipelines, so a test run there had Detected false and diff tools were launched (or attempted) on the agent.

BITBUCKET_BUILD_NUMBER is one of the default variables Bitbucket Cloud sets for every pipeline build, whatever triggered it, so its presence is the marker — the same shape the other providers use. It is also what Cake and NUKE key their Bitbucket detection on.

  • IsBitbucketPipelines added beside the other properties, and to the detected chain.
  • Added to the BuildServerDetectorProps snippet and the readme's supported list (readme.md regenerated with MarkdownSnippets).

DiffEngine.Tests passes locally on Windows, net10.0: 661 passed, 7 skipped, 0 failed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GmaZicjXLGgc4bQYsHDiL6

BITBUCKET_BUILD_NUMBER is one of the default variables Bitbucket Cloud
sets for every pipeline build, so its presence is the marker, in the same
shape as the other providers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmaZicjXLGgc4bQYsHDiL6
@lahma
lahma marked this pull request as ready for review September 10, 2026 06:03
@SimonCropp

Copy link
Copy Markdown
Member

@lahma thanks. i will deploy now

@SimonCropp
SimonCropp merged commit 4c31ab0 into VerifyTests:main Sep 10, 2026
10 checks passed
@lahma
lahma deleted the bitbucket-pipelines branch September 10, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants