-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Tasks
-
None
-
1
Problem Description
Bamboo does not provide support for running Cygwin-based shell scripts on Windows agents. As a result, builds that use Cygwin scripts on Windows are unreliable and require manual workarounds, instead of having a simple, built-in way to run these scripts.
Suggested Solutions
- Add a checkbox in Script tasks to automatically make Cygwin scripts work on Windows.
- Add a dedicated “Cygwin shell” option for Script tasks on Windows agents.
- Allow Script tasks on Windows to generate scripts with Unix-style line endings (LF).
- Automatically detect Cygwin on Windows agents and use it when appropriate.
Workaround
Add the following environment variable to the Script Task (as a task property, not inline):
SHELLOPTS="$SHELLOPTS:igncr"