We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to generate aggregated report for multi-module project using the following task:
task allureAggregatedReport(type: AllureReport) { resultsDirs = subprojects.allure.resultsDir }
but one of the modules currently has no tests and report generation fails:
> Task :allureAggregatedReport Could not parse arguments: invalid Default parameter: directory /Users/charlie/projects/allure2/plugins/custom-logo-plugin/build/allure-results should exists Generate the report Usage: generate [options] The directories with allure results Options: -c, --clean Clean Allure report directory before generating a new one. Default: false --profile Allure commandline configuration profile. -o, --report-dir, --output The directory to generate Allure report into. Default: allure-report
Report generated successfully.
The text was updated successfully, but these errors were encountered:
Possible workaround:
task allureAggregatedReport(type: AllureReport) //before task execution choose only existed folders allureAggregatedReport.doFirst { resultsDirs = [] subprojects.allure.resultsDir.each { if (file(it).exists){ resultsDirs += it } } }
Sorry, something went wrong.
Where exactly are you passing this code.....under hooks in config file or somewhere else?... malso trying to get aggregated results
I believe this is fixed with #61
Please feel free to try it and provide feedback.
Resolved in #61
No branches or pull requests
I'm submitting a ...
What is the current behavior?
I am trying to generate aggregated report for multi-module project using the following task:
but one of the modules currently has no tests and report generation fails:
What is the expected behavior?
Report generated successfully.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: