Jenkins ver. 2.138.3 (Docker Hub)
Wanings NG 1.0.0-beta5
(discussion is split from
console parsers currently run on the master and for security reasons, this excludes the customizable Groovy Parser.
for an user this is surprising and adding a custom warning parser will need changes in the buildscript to dump output to a log file, ideally adding a parser would not otherwise affect existing jobs .
- not piping would be the most clear, and similar to the scripts you would run on a local build
- piping it just to a file will remove all visible status during execution
- naively splitting it (eg. | tee file.log) will mean the error state of the script doing the build will vanish. see here
- additionally storing and restoring the errors state of the script adds boilerplate code
just to reiterate how invasive this change is, here is my current (POSIX Shell) workaround with variant 4):