I am trying to rerun the failed test scenarios from serenity with cucumber. For the retry I am using maven fail safe plugin
https://maven.apache.org/surefire/maven-failsafe-plugin/examples/rerun-failing-tests.html
Configured below properties in serenity.properties
test.retry.count=3
max.retries=4
junit.retry.tests=true
test.retry.count.cucumber=3
None of them worked with gradle. The same is worked with Maven.