Coloring leaks over non script related lines

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: ansicolor-plugin
    • None
    • Environment:
      ansi color 0.6.3
      jenkins 2.176.2

      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)

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

              Created:
              Updated:
              Resolved: