Set TERM variable to ensure tools output colored text in Pipelines

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            Deric Lee (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: