-
Bug
-
Resolution: Fixed
-
Minor
-
None
Hi,
I am trying to use the Maven ansi color plugin to have the Jenkins log colorized the Maven output, but it fails. Jenkins version is 2.162.
I added to the pipe line the following code-
options
{ ansiColor('xterm') }
environment
{ MAVEN_OPTS = '-Djansi.force=true' }
stage ('Build stage')
{
steps
{ bat 'mvn -version' bat 'mvn -Dstyle.color=always clean install' }
}
The Maven itself is version 3.5.4, but the Jenkins result is without colors