Add Cygwin support for Script tasks on Windows agents in Bamboo

XMLWordPrintable

    • 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

      1. Add a checkbox in Script tasks to automatically make Cygwin scripts work on Windows.
      2. Add a dedicated “Cygwin shell” option for Script tasks on Windows agents.
      3. Allow Script tasks on Windows to generate scripts with Unix-style line endings (LF).
      4. 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"

              Assignee:
              Unassigned
              Reporter:
              Venkata Sateesh Pentela
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: