What Operating System are you using (both controller, and any agents involved in the problem)?
not relevant
Reproduction steps
We are using allure jenkins plugin and I happen to notice we have difference in results between junit test output and allure.
Allure results show tests results for last build for tests that were run last during June or July. Also, it shows results that are for tests which were either deleted, renamed or moved.
In some Stack overflow thread I read it is perhaps good if I clean up workspace before or after test execution:
Here https://github.com/allure-framework/allure2/issues/962
also here: https://stackoverflow.com/questions/58395037/results-for-deleted-renamed-tests-still-appear-in-allure-reports-using-jenkins
Yet, I don't find this being a working solution, I tried it, it didn't work and as it seems the allure results are preserved in a folder with the number of the build, on the master. Therefore, if I want to get rid of old results, I have to delete the alure-report.rar for all previous builds. And I have to do this every time a test is renamed, moved or deleted.
My questions are:
Is there a way (option in settings, parameter I can pass) to purge old test results, so I can have the latest and greatest.
Is there a parameter I can set for that historical record like N where N is the number I want to record ex. 5 runs, 10 runs. From what it seems now, it remembers results forever.
Thanks in advance.
Jenkins and plugins versions report
Environment
```text Paste the output here ```What Operating System are you using (both controller, and any agents involved in the problem)?
not relevant
Reproduction steps
We are using allure jenkins plugin and I happen to notice we have difference in results between junit test output and allure. Allure results show tests results for last build for tests that were run last during June or July. Also, it shows results that are for tests which were either deleted, renamed or moved. In some Stack overflow thread I read it is perhaps good if I clean up workspace before or after test execution: Here https://github.com/allure-framework/allure2/issues/962 also here: https://stackoverflow.com/questions/58395037/results-for-deleted-renamed-tests-still-appear-in-allure-reports-using-jenkins Yet, I don't find this being a working solution, I tried it, it didn't work and as it seems the allure results are preserved in a folder with the number of the build, on the master. Therefore, if I want to get rid of old results, I have to delete the alure-report.rar for all previous builds. And I have to do this every time a test is renamed, moved or deleted. My questions are:
Expected Results
none
Actual Results
none
Anything else?
No response