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

ANSIColor plugin leaks format onto next line's timestamp

    Details

    • Similar Issues:

      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. without.png
          without.png
          6 kB
        2. with.png
          with.png
          8 kB
        3. consolelog.png
          consolelog.png
          323 kB

          Issue Links

            Activity

            Hide
            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.

            Show
            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.
            Hide
            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.

            Show
            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.
            Hide
            jglick Jesse Glick added a comment -

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

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

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

            Show
            dnusbaum Devin Nusbaum added a comment - And if PR 137 doesn't help, it would be worth checking if  PR 147 makes a difference.
            Hide
            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

            Show
            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

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

                Dates

                • Created:
                  Updated: