jenkinsci / allure-plugin

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

Can't change default report name #362

Open SaturnIC opened 1 month ago

SaturnIC commented 1 month 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)?

Windows 10

Reproduction steps

Jenkins pipeline step

allure includeProperties: true, jdk: '', properties: [[key: "reportName", value: "Tests Results"]], results: [[path: "${resPath}"]]

Expected Results

Report name should be "Test Results" instead of the default "Allure Report"

Actual Results

Doesn't change default report name "Allure Report"

Anything else?

I also tried to add a executor.json file that contains a reportName key and value "Test Results"

now if i serve the allure results locally with: allure serve ${resPath} the served local report has a changed report name

But if i add the same exutor.json to the jenkins pipeline the jenkins allure report name will not be affected.

There should be a way to define a custom report name even when the report is being served by Jenkins.

Are you interested in contributing a fix?

Sure