Skip to content

fix: [CI-22696]: propagate drone-git.exe exit code through Windows clone.ps1 wrapper#132

Open
DevanshMathur19 wants to merge 2 commits into
wings-software:masterfrom
DevanshMathur19:CI-22696
Open

fix: [CI-22696]: propagate drone-git.exe exit code through Windows clone.ps1 wrapper#132
DevanshMathur19 wants to merge 2 commits into
wings-software:masterfrom
DevanshMathur19:CI-22696

Conversation

@DevanshMathur19
Copy link
Copy Markdown

No description provided.

DevanshMathur19 and others added 2 commits June 3, 2026 05:57
…ndows

Replace `Throw` with `Write-Error; exit $LASTEXITCODE` in windows/utility.ps1
so the actual underlying exit code (e.g. 128 for git fetch failures) bubbles
up through the PowerShell wrapper instead of being normalized to 1 by
PowerShell's terminating-error handling. Brings Windows error reporting in
line with Linux (`Error: exit status 128`).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

1 participant