Skip to content

Merge fix/sdk-7081-ci-info-detection-order - #1156

Merged
bsautomation merged 1 commit into
pre_prodfrom
fix/sdk-7081-ci-info-detection-order
Jul 29, 2026
Merged

Merge fix/sdk-7081-ci-info-detection-order#1156
bsautomation merged 1 commit into
pre_prodfrom
fix/sdk-7081-ci-info-detection-order

Conversation

@bsautomation

Copy link
Copy Markdown
Collaborator

Merge into pre_prod :by automationbs

… [SDK-7081]

getCiInfo() checked Jenkins first on mere presence of JENKINS_URL/
JENKINS_HOME, so a self-hosted GitHub Actions runner with leftover
Jenkins env vars was classified as Jenkins with build_url undefined.
obs-api force-disables the TRA Re-run control for builds without a CI
build_url, greying the button. Move the explicit GITHUB_ACTIONS check
ahead of the presence-only providers.

Also return after resolve({}) in getGitMetaData when no git directory
is found, instead of falling through.

Adds getCiInfo unit coverage: GHA detection, the Jenkins-shadowing
regression, pure Jenkins, and no-CI.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@bsautomation
bsautomation requested a review from a team as a code owner July 29, 2026 12:05
@bsautomation
bsautomation requested review from dandonarahul2002 and pranay-v29 and removed request for a team July 29, 2026 12:05
@bsautomation
bsautomation merged commit fbde911 into pre_prod Jul 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants