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

Invalid output property causes Gradle build cache miss #107

Open
1 of 3 tasks
wbonnefond opened this issue Apr 25, 2023 · 0 comments
Open
1 of 3 tasks

Invalid output property causes Gradle build cache miss #107

wbonnefond opened this issue Apr 25, 2023 · 0 comments

Comments

@wbonnefond
Copy link

wbonnefond commented Apr 25, 2023

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?

The allure gradle plugin breaks gradle task caching in Android project unit test task. The allure-results folder is a task output that is not properly configured for task caching.

Build scan: https://scans.gradle.com/s/tmyymdsn62dmq

Screenshot 2023-04-25 at 2 05 49 PM

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Here is a sample project with reproduction steps: https://github.com/wbonnefond/allure-gradle-cache-failure

What is the expected behavior?

The allure gradle plugin should not make the unit test task incompatible with gradle build cache.

What is the motivation / use case for changing the behavior?

Build cache improves local and CI build times by reducing the amount of work that needs to be done on subsequent task invocations.

Please tell us about your environment:

Allure version 2.21.0
Test framework [email protected]
Allure gradle plugin 2.11.2
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

1 participant