Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-18870

Run Bash on Windows via task hangs

    XMLWordPrintable

Details

    • 0
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Summary

      Bamboo build process hangs when bash.exe is called from script or command task on Windows 10. It would be great if this feature is supported by Bamboo

      Environment

      • Windows 10

      Steps to Reproduce

      1. Create a script task
      2. Choose "powershell" as interpreter and Inline as Script location
      3. Add the below content
        bash -c "ls;exit"
        

      Expected Results

      The task should get successfully executed.

      Actual Results

      The build is hung and it couldn't exit from Bash.

      Notes

      When we run the same command from Powershell or cmd.exe, it invokes bash and exits promptly.

      Workaround

      There is no workaround for now. We have to avoid using bash.exe and run native powershell codes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jinbasekaran Jeyanthan I (Inactive)
            Votes:
            11 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: