jenkinsci / allure-plugin

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

Not able to disable auto copy of history data in allure-results in a job #351

Open kundanone opened 6 months ago

kundanone commented 6 months ago

Jenkins and plugins versions report

I am not able to disable history trend in jenkins allure plugin. ```text Paste the output here ```

I want to use jenkins allure plugin in a job and use the job for different projects as downstream pipeline, I want to separately mange trend and history in s3 bucket by copying history using my script before report generation but jenkins is automatically adding history data of all previous projects ran on the job in allure results. Is there a way to disable history trend(automatic copy of job history to allure-results folder)

What Operating System are you using (both controller, and any agents involved in the problem)?

linux

Reproduction steps

  1. create 2 projects with different test set
  2. use a jenkins job to create history for all projects using downstream pipeline
  3. Before running allure report generation, copy history stored in my s3 to allure-results folder.
  4. Check for history trend

Expected Results

History trend should only show history of project1 when I copied history of project 1

Actual Results

History trend shows history of project 1 and project 2 automatically

Anything else?

No response

Are you interested in contributing a fix?

I suggest to have a parameter to disable auto copy of history trend in jenkins