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

Coloring leaks over non script related lines

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: ansicolor-plugin
    • Labels:
      None
    • Environment:
      ansi color 0.6.3
      jenkins 2.176.2
    • Similar Issues:

      Description

      Line colouring bleeds to unrelated lines

      Reproducible example:

      node('linux') {
          wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm']) {
              sh "echo -e \"\\e[33mYellow words, white background.\""
              sh "echo -e \"\\e[35mMagenta words, white background.\""
          }
      }
      

      Gives the output

      Older versions give the output (0.5.3)

        Attachments

          Activity

          Hide
          tszmytka Tomasz Szmytka added a comment - - edited
          Show
          tszmytka Tomasz Szmytka added a comment - - edited Has been fixed and merged with https://github.com/jenkinsci/ansicolor-plugin/pull/190

            People

            Assignee:
            tszmytka Tomasz Szmytka
            Reporter:
            raihaan Raihaan Shouhell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: