Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66804

Add support for ANSI color in standard output of test results

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • xunit-plugin
    • None

      Some test output includes ANSI color escape sequences.  Currently the xunit plugin's "Standard Output" view displays ANSI escape sequences like this:

      [NON-XML-CHAR-0x1B][90m[[NON-XML-CHAR-0x1B][38;5;249m
      

      (Screenshot attached.)

      It would be nice if the xunit plugin could interpret the ANSI sequences and render the text in color. Related: https://github.com/jenkinsci/ansicolor-plugin

          [JENKINS-66804] Add support for ANSI color in standard output of test results

          Nikolas Falco added a comment -

          The rendering of UI part is done by junit-plugin that for sure it does not interpret the content of system-output/error.

          Nikolas Falco added a comment - The rendering of UI part is done by junit-plugin that for sure it does not interpret the content of system-output/error.

          Steve Mokris added a comment -

          OK, thanks for clarifying the relationship between these plugins. I opened an issue in the junit plugin queue: https://issues.jenkins.io/browse/JENKINS-66805

          Steve Mokris added a comment - OK, thanks for clarifying the relationship between these plugins. I opened an issue in the junit plugin queue: https://issues.jenkins.io/browse/JENKINS-66805

            nfalco Nikolas Falco
            smokris Steve Mokris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: