Search code examples
gitjenkinskubernetes-helm

Jenkins Console Output Format


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?


Solution

  • 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')
           }