I got it. You mean Naginator plugin doesn't work with Flexible Publish plgin, right?
I had a look at the implematation of naginator plugin, and saw it does't work with flexible-publish plugin.
Rerun post build step works just as a marker to decide whether rerun is required, and wrapping with flexible-publish makes it hidden and not work as a marker.
This is an issue of naginator plugin, and flexible-publish plugin can do nothing for that.
I changed the target component of this issue.
What naginator plugin can do (this is notes for maintainer(s) of naginator plugin):
- Use Action to mark whether to rerun.
- Add a feature of conditional rerun.
- Doesn't support conditional rerun, and close this issue with Won't Fix.