How can I customize Jenkins output?

My Jenkins builds our code using the build phase of the script. Output streams / errors are captured and displayed on the build page. Can I do something to highlight errors? For example, I would like to color all red lines containing the error SOME_CODE string error SOME_CODE , and error SOME_CODE yellow all warnings. It can be done?

+8
jenkins
source share
1 answer

Log Parser Plugin can do this:

The log-parser plugin allows you to analyze the generated log of an empty Hudson construction console. It does this:

  • selection of lines of interest in the log (errors, warnings, information)
  • division of the magazine
  • Displays a summary of the number of errors, warnings, and line information in the log and its sections.
  • linking a summary of errors and warnings in the context of the full log, which simplifies the search for the line of interest in the log
  • shows a summary of errors and warnings on the build page
+9
source share

All Articles