I want to reschedule a build when timeout occurs with build-timeout plugin.
It's useful if I can reuse the rescheduling feature of naginator plugin.
What I plan:
- When a plugin wants naginator plugin to reschedule a build, it adds an action (e.g. NaginatorScheduleAction) indicating rescheduling to the build.
- NaginatorListener decides to reschedule a build by that action:
- current behavior: decides by whether the project is contains NaginatorPublisher
- new behavir: decides by whether the project contains NaginatorScheduleAction. NaginatorPublisher just adds that action to the build.