-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins ver. 2.138.3 (Docker Hub)
Wanings NG 1.0.0-beta5
-
-
warnings-ng 1.0.1
The configuration and functionality is currently lacking
1) The help text under the Static Analysis Tool configuration (Freestyle job), should add that the own configured Parser can be found if "Groovy Parser" is selected
For each static analysis tool a dedicated parser will be used to read the report files. If your tool is not yet supported then you can create your own parser in the system configuration.
2) Groovy Parser cant scan console log output ?!
Seems a bit weird to me that a single scanner has this limitation, is this getting fixed, or is there a recommendation to start writing logs to a file first? (As in best practices, generally for Jenkins or specific to this plugin). like using "2>&1 | tee some.log" on commands?
FATAL: Static analysis tool Groovy Parser cannot scan console log output, please define a file pattern
Can you please split this issue so that I can track the progress individually?
The second point is related to JENKINS-52237. Scanning of the console log is done on the master currently, all other files are scanned on the agent. On the master a Groovy script could do harmful things. If I allow a parser script configuration in a job this might be too dangerous. So I thought it would be better to disable processing of Groovy scripts on the master. Do you have a better idea?
Can’t you pipe your log output to a file on the agent?