Jenkins Pipeline logs braces from ansiColor plugin?

后端 未结 1 1501
[愿得一人]
[愿得一人] 2021-01-27 09:49

I do not like that when I output a message using a ansiColor plug-in, it prints a lot of extra braces and words. How to fix it?

Jenkins Pipeline Method:



        
相关标签:
1条回答
  • 2021-01-27 10:33

    We use the Simple Theme plugin to hide or surpress the pipeline annotated lines. With this you can use custom .css code to hide or don't display the pipeline annotated lines. You can do this if you have or installed this plugin via 'Jenkins > Manage Jenkins > Configure System' and navigate to 'Theme' and add Extra CSS.

    For example this should not display the pipeline annotated lines:

    .pipeline-annotated {
       display: none;
    }
    

    or just hide it (this will sometimes be more readable):

    .pipeline-annotated {
       visibility: hidden;
    }
    

    See also this for more info.

    0 讨论(0)
提交回复
热议问题