-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add an option to configure the failure level and fail the task accordingly #536
Comments
This was referenced Mar 19, 2020
ggrossetie
added a commit
to ggrossetie/asciidoctor-gradle-plugin
that referenced
this issue
Mar 23, 2020
ggrossetie
added a commit
to ggrossetie/asciidoctor-gradle-plugin
that referenced
this issue
Mar 23, 2020
ggrossetie
added a commit
to ggrossetie/asciidoctor-gradle-plugin
that referenced
this issue
Mar 23, 2020
ggrossetie
added a commit
to ggrossetie/asciidoctor-gradle-plugin
that referenced
this issue
Mar 23, 2020
ggrossetie
added a commit
to ggrossetie/asciidoctor-gradle-plugin
that referenced
this issue
Mar 23, 2020
ggrossetie
added a commit
to ggrossetie/asciidoctor-gradle-plugin
that referenced
this issue
Mar 23, 2020
ggrossetie
added a commit
to ggrossetie/asciidoctor-gradle-plugin
that referenced
this issue
Mar 24, 2020
ggrossetie
added a commit
to ggrossetie/asciidoctor-gradle-plugin
that referenced
this issue
Mar 24, 2020
ysb33r
added a commit
that referenced
this issue
Mar 29, 2020
resolves #536 configure the failure level and fail the task accordingly
Closed. Will be in 3.2.0 |
ysb33r
pushed a commit
to ysb33r/asciidoctor-gradle-plugin
that referenced
this issue
Apr 11, 2020
Merged
Trying to test this I see this only works in tasks with
But
Is that intended? |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Asciidoctor can return a non-zero exit code if specified logging level is reached. For instance, it can be useful when you want to fail if an include directive is not found (by setting
failure_level
toWARN
).In the context of Gradle, I think we should probably throw an exception to fail the task.
I can submit a pull request with a few guidance on how to (properly) fail task.
The text was updated successfully, but these errors were encountered: