mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-05-13 02:04:38 +00:00
Make generated command script execution robust #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Command steps hit a known failure mode where generated shell execution failed with errors like:
This matched upstream reports around command entrypoint/script handling. We had to work around it by overriding the entrypoint and writing
CI_SCRIPTto a file before executing it:Desired behavior
Woodpecker should execute generated command scripts in a way that is robust for larger or more complex scripts by default. For example:
Why this matters
Command execution is core CI functionality. Users should not need custom entrypoints across many workflows to avoid intermittent shell quoting/truncation issues.