-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cucumber-trends.json directory retention #432
Comments
Trends are stored in location that is accessible from all builds for given project. Trends file lives as long as the project |
Then what stands "trendsLimit" for? From my point of understanding that should be the limit of builds including in the trend graph. So why keep the data from the older builds and clutter up the hard drive, when they are not part of the report anymore? But ok, we decided to disable the trends feature, because it is not working for us (with the 2 reports per build issue), but i recognized that still the |
Based on the code https://github.com/damianszczepanik/cucumber-reporting/blob/master/src/main/java/net/masterthought/cucumber/ReportBuilder.java#L214-L217 file with the limit is stored as long as the project lives but older data are rotated |
What feature do you want to see added?
Currently the cucumber-trends.json file is located at Jenkins job level and the json file is deleted at some point (by this plugin or jenkins?), but the directory
cucumber-reports_<alphanumerical numbers>
stays forever. If the plugin handles the cleanup of the trends json file, i would like to request to delete the (empty) directory, too. Otherwise, as it is right now, the Jenkins job directory is cluttered with empty directories.I already cleaned the Jenkins job directory, so i have no exact data which was the oldest cucumber_reports directory, but at least older than 1 year.
Upstream changes
No response
The text was updated successfully, but these errors were encountered: