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
gradlew build --fail-fast fails #24523
Comments
Right now you can do this via providing all the needed tasks with their configuration options in a command line like this:
But if you have have other tests tasks, you should provide them in a command line as well. Do you want Gradle to support |
In the docs there is zero indication that So either the docs must be fixed or the behavior must be changed to allow this globally. |
Would you benefit from having a global setting or you are ok with current behavior? |
In my case a global setting would be better as I could then simply invoke |
Thank you for your interest in Gradle! This feature request is in the backlog of the relevant team but this area of Gradle is currently not a focus one so it might take a while before it gets implemented. |
Expected Behavior
gradlew build --fail-fast
runs the build and fails fast on first broken testCurrent Behavior
> Unknown command-line option '--fail-fast'
Note that
gradlew test --fail-fast
worksContext
I wanted to speed up broken CI runs and added this to Github Action's yml file
Steps to Reproduce
Try the command above on a Kotlin project
Your Environment
Gradle 8.0.2
The text was updated successfully, but these errors were encountered: