[JIRA] (JENKINS-59114) Maven output is not colorized
Title: Message Title Eyal Goren commented on JENKINS-59114 Re: Maven output is not colorized OK, when I use the pipeline maven integration plugin it does work, this issue can be closed Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201539.1566962562000.3580.1569264240154%40Atlassian.JIRA.
[JIRA] (JENKINS-59114) Maven output is not colorized
Title: Message Title Eyal Goren commented on JENKINS-59114 Re: Maven output is not colorized Can you show me a sample of declarative pipeline- how it should work? I will be happy to test it Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201539.1566962562000.1426.1568232000273%40Atlassian.JIRA.
[JIRA] (JENKINS-59114) Maven output is not colorized
Title: Message Title Falko Modler commented on JENKINS-59114 Re: Maven output is not colorized Sorry, must have missed that. The formatting is a bit off, though. This actually works for me. The one main difference is that I am using withMaven and then sh "mvn ...". And my Jenkins is running on CentOS 7, yours is a Windows machine... Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201539.1566962562000.1424.1568231640224%40Atlassian.JIRA.
[JIRA] (JENKINS-59114) Maven output is not colorized
Title: Message Title Eyal Goren commented on JENKINS-59114 Re: Maven output is not colorized You can see in the description that the mvn command contains this parameter- bat 'mvn -Dstyle.color=always clean install' Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201539.1566962562000.1364.1568217240114%40Atlassian.JIRA.
[JIRA] (JENKINS-59114) Maven output is not colorized
Title: Message Title Falko Modler commented on JENKINS-59114 Re: Maven output is not colorized You have to add -Dstyle.color=always to the mvn invocation (not to MAVEN_OPTS like jansi.force). See: https://issues.jenkins-ci.org/browse/JENKINS-44543?focusedCommentId=331794=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-331794 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201539.1566962562000.1332.1568211840302%40Atlassian.JIRA.
[JIRA] (JENKINS-59114) Maven output is not colorized
Title: Message Title Eyal Goren created an issue Jenkins / JENKINS-59114 Maven output is not colorized Issue Type: Bug Assignee: Unassigned Attachments: JenkinsNoColors.PNG, MavenColors.PNG Components: ansicolor-plugin Created: 2019-08-28 03:22 Priority: Minor Reporter: Eyal Goren 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