Skip to content
New issue

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

Allure reports not generating after upgrading allure version from 2.8.1 to 2.9.4 #88

Open
1 of 3 tasks
sonamkuk opened this issue Mar 9, 2022 · 2 comments
Open
1 of 3 tasks

Comments

@sonamkuk
Copy link

sonamkuk commented Mar 9, 2022

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

I am working on generating allure reports with Marathon library for my Espresso automation test to embedd screenshots in the report. The test reports were generating fine with screenshots for below configuration
Allure-gradle @2.8.1
Marathon-gradle plugin @0.6.2
Gradle 6.0

Since we migrated to Gradle 7.0 and we had open issues of multiple getters with allure-gradle version 2.8.1, so I upgraded allure-gradle version from 2.8.1 to 2.9.4 but I was not able to make this reports generate with current configuration. When tried with running it with warning mode - ./gradlew allureReport --warning-mode=all
I am getting below error:
image

Resolution of the configuration :allureRawResultDirs was attempted from a context different than the project context. Have a look at the documentation to understand why this is a problem and how it can be resolved. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. See

allure-results are generating under marathon reports but allure reports are not getting generated

What is the expected behavior?

Allure reports should generate under app/build/reports/allure-report

Please tell us about your environment:

Allure version 2.2.0
Test framework junit4
Allure 2.13.9
Generate report using [email protected]

allure {
report {
version.set("2.13.9")
reportDir.file(project.rootDir.absolutePath+"/app/build/reports/allure-report")
}
}

Other information

@vlsi
Copy link
Contributor

vlsi commented Sep 11, 2022

This looks like a Gradle issue to me.

The relevant line is

@carlos-vargas-pplus
Copy link

have the same issue, any workaround for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants