allure-framework / allure-gradle

Allure Gradle Plugin
Apache License 2.0
85 stars 36 forks source link

Use allure-raw-results/$taskName/allure-results so different tasks use different folders #77

Closed vlsi closed 2 years ago

vlsi commented 2 years ago

Gradle best practice is to make sure different tasks output files to the different folders, so up-to-date and caching works better.

fixes #50

KroArtem commented 2 years ago

@vlsi , hello, do you think there are any chances merging this PR?

vlsi commented 2 years ago

As far as I remember, Allure Jenkins plugin expects the results in a hard-coded folder, so if allure produces multiple folders with results, then Jenkins plugin won't work.

I guess I can add an option for "single vs separate folders", however, I wanted to revisit what Jenkins plugin does, and I had no time to do that yet.