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

Jenkins ansi color does not display colors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: ansicolor-plugin
    • Labels:
      None
    • Environment:
      Maven 3.5.4, Jenkins 2.162, Ansicolor plugin 0.62
    • Similar Issues:

      Description

      Hi,

      When I use the ansi color plugin and Maven 3.5.4, the console does not display the color.

       

      In the Jenkinsfile I added -

       

      options

      { ansiColor('xterm') }

      environment

      { MAVEN_OPTS = '-Djansi.force=true' }

       

      And in the mvn command-

      bat 'mvn -Dstyle.color=always clean install'

       

      But the log appears without colors.

       

        Attachments

          Activity

          Hide
          eyalg1972 Eyal Goren added a comment -

          Can be unified with JENKINS-59114

          Show
          eyalg1972 Eyal Goren added a comment - Can be unified with  JENKINS-59114

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            eyalg1972 Eyal Goren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: