Detect Bitbucket Pipelines as a build server - #865
Merged
Conversation
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
marked this pull request as ready for review
September 10, 2026 06:03
Member
|
@lahma thanks. i will deploy now |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BuildServerDetectordid not know about Bitbucket Pipelines, so a test run there hadDetectedfalse and diff tools were launched (or attempted) on the agent.BITBUCKET_BUILD_NUMBERis 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.IsBitbucketPipelinesadded beside the other properties, and to thedetectedchain.BuildServerDetectorPropssnippet and the readme's supported list (readme.md regenerated with MarkdownSnippets).DiffEngine.Testspasses locally on Windows, net10.0: 661 passed, 7 skipped, 0 failed.🤖 Generated with Claude Code
https://claude.ai/code/session_01GmaZicjXLGgc4bQYsHDiL6