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

ANSIColor plugin leaks format onto next line's timestamp

    XMLWordPrintable

Details

    Description

      When used with timestamped console output, the formatting from one line sometimes (but not always) leaks over and colors the timestamp on the next line.

      Attachments

        1. consolelog.png
          consolelog.png
          323 kB
        2. with.png
          with.png
          8 kB
        3. without.png
          without.png
          6 kB

        Issue Links

          Activity

            jglick Jesse Glick added a comment -

            IIUC it was more that switching to a console annotator was expected to make it easier to fix this, as outlined in the note of 2016-10-04.

            jglick Jesse Glick added a comment - IIUC it was more that switching to a console annotator was expected to make it easier to fix this, as outlined in the note of 2016-10-04.

            We have an issue where [0m (aka setaf 0) is being printed to the screen at the end of a line with color and timestamps. This messes up the color for all future lines, though the timestamps themselves are okay.

            docwhat Christian Höltje added a comment - We have an issue where [0m (aka setaf 0 ) is being printed to the screen at the end of a line with color and timestamps. This messes up the color for all future lines, though the timestamps themselves are okay.
            jglick Jesse Glick added a comment -

            Recheck after PR 137 (unreleased as of this writing).

            jglick Jesse Glick added a comment - Recheck after PR 137 (unreleased as of this writing).
            dnusbaum Devin Nusbaum added a comment -

            And if PR 137 doesn't help, it would be worth checking if PR 147 makes a difference.

            dnusbaum Devin Nusbaum added a comment - And if PR 137 doesn't help, it would be worth checking if  PR 147 makes a difference.
            nmanos Noam Manos added a comment -

            As a workaround, when the timestamper background is white, while the console was set to black in Ansi-Color plugin,

            you can use  https://github.com/jazzzz/jenkins-black-console to configure the default CSS to black.

             

            All you need is to install Simple Theme Plugin and configure in "Manage Jenkins" this theme:

            https://jazzzz.github.io/jenkins-black-console/black-console.css

            nmanos Noam Manos added a comment - As a workaround, when the timestamper background is white, while the console was set to black in Ansi-Color plugin, you can use   https://github.com/jazzzz/jenkins-black-console to configure the default CSS to black.   All you need is to install  Simple Theme Plugin and configure in "Manage Jenkins" this theme: https://jazzzz.github.io/jenkins-black-console/black-console.css

            People

              Unassigned Unassigned
              evildeece Alastair D'Silva
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: