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

Jenkins ansi color does not display colors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ansicolor-plugin
    • None
    • Maven 3.5.4, Jenkins 2.162, Ansicolor plugin 0.62

      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.

       

        1. JenkinsNoColors.PNG
          33 kB
          Eyal Goren
        2. MavenColors.PNG
          75 kB
          Eyal Goren

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

              Created:
              Updated:
              Resolved: