You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking for a way to configure the plugin to output the failure report into the console, that'd be very helpful on CI. Currently I'd just do:
after_failure:
- cat build/reports/japi.txt
but this would obviously print the report even if the failure wasn't caused by Japicmp. Would be great to be able to enable this with a plugin config option.
The text was updated successfully, but these errors were encountered:
@melix I'm coming across a similar need. My previous way of doing this was to actually print out the content of the TextReport on console using a task listener:
The trouble is that afterTask is now deprecated and will be removed in Gradle 8.
The other drawback of this approach is that if any other type of report is configured, including the rich report, the textReport is suppressed. When I was experimenting with custom rules and filters, this would effectively prevent the console output (since the rich report is not fit for console display, being HTML).
What do you think about adding a boolean parameter that would add the equivalent of the textReport to the end of the exception message (after the See failure report at _URL_ bit)?
I was looking for a way to configure the plugin to output the failure report into the console, that'd be very helpful on CI. Currently I'd just do:
but this would obviously print the report even if the failure wasn't caused by Japicmp. Would be great to be able to enable this with a plugin config option.
The text was updated successfully, but these errors were encountered: