allure2 icon indicating copy to clipboard operation
allure2 copied to clipboard

How to limit historical data (trends)?

Open koreyba opened this issue 7 years ago • 6 comments

I'm using the console generator to create Allure reports.

In order to make trends work I copy "History" folder from previous report to "allure-results" folder so it will take part in generation of a new report.

My question is: how can I limit history to N amount of runs so only N amount of test runs are displayed in all the trends?

screenshot_23

I use VSTS and its plugin doesn't do it (in fact, the plugin doesn't work at all so I don't use it).

Allure version 2.4.1.1
Test framework MsTest v2

koreyba avatar Nov 29 '18 16:11 koreyba

tell jenkins to archive off data exceeding 10+ perhaps?

symonk avatar Nov 29 '18 22:11 symonk

tell jenkins to archive off data exceeding 10+ perhaps?

Why Jenkins? I told that I use VSTS :) but I don't use any plugins to generate report, I use the console.

koreyba avatar Nov 30 '18 09:11 koreyba

@koreyba there is no simple way to do that at the moment. But one of the main improvements of upcoming release (Allure 3) is possibility to configure plugins (including history trend plugin)

baev avatar Nov 30 '18 15:11 baev

How does Jenkins do that. May be that can give us some idea to do it ourselves.

techhemant avatar Apr 01 '19 22:04 techhemant

Hello guys, maybe some solution is came up?

Xotabu4 avatar Jun 01 '19 10:06 Xotabu4

I'm waiting too ;-)

SebaM avatar Feb 24 '23 14:02 SebaM