jenkinsci / allure-plugin

Allure Jenkins Plugin
https://plugins.jenkins.io/allure-jenkins-plugin/
Other
84 stars 66 forks source link

Question: Purge historic test results #319

Closed mrslavchev closed 1 year ago

mrslavchev commented 1 year ago

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

vbragin commented 1 year ago

Unfortunately: "not" for both.