Jenkins Console Output Format

6/11/2019

When I prepare a job which includes "helm diff" or "git diff", the output format is too difficult to read(it is just plain-text) and there must be a plugin or a way to see these kinds of outputs in a better format even as a colourfull format. Could you help me to find a solution for that?

-- seremet
git
jenkins
kubernetes-helm

1 Answer

6/11/2019

Yes, "AnsiColor Plugin" helped me, but correct "ansiColor('xterm')" configuration has taken my so time

the config below has fixed my problem

    ansiColor('xterm') {
       sh "command"
     }

the config below did not work on me

      options {
        ansiColor('xterm')
       }
-- seremet
Source: StackOverflow