Add option to not store affectedfiles-with-issues folders excessively large
Issue Type:
BugImprovement
We are using the warnings-ng plugin to analyze some of our projects with the following code {code:java} recordIssues enabledForFailure: true, blameDisabled: true,tools: [java(), mavenConsole(), taskScanner(highTags: 'FIXME', normalTags: 'TODO, CHECKSTYLE IGNORE')] {code}
This leads to very large folders on the Jenkins master (around 250MB for a single build) compared to the old Static Analysis Plugin.
An option to disable this behaviour or to specify retention times separatly from build retention times would be appreciated.
One thing to start with is to have a look at the coverage-api plugin and see which options they provide for the user.
Then we can discuss if we are heading for the simple solution (boolean flag) or a more sophisticating approach. One question for the latter one is: should this be solved in my plugin? Or should this be part of a source code renderer plugin that handles such a thing for all Jenkins plugins that show source code in some form. I discussed this in the coverage API Gitter channel a couple of weeks ago. I think providing a plugin would definitely be the best way but also the most complex one. I think this would be a GSoC project on its own...