Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-14494

Set TERM variable to ensure tools output colored text in Pipelines

    XMLWordPrintable

Details

    • 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

      Colored text output in Bitbucket Pipelines command output helps with troubleshooting of builds. However, because we run builds with a non-interactive shell and the TERM variable is not set, many tools do not produce the ANSI color codes needed for these to work.

      Workaround

      Use command line arguments like -color or -color=force will work for many tools to force colored output in Pipelines. You may also need to set the TERM environment variable to 'xterm' for some tools.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dlee@atlassian.com Deric Lee (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: