-
Improvement
-
Resolution: Done
-
Minor
Current configuration options does not cover every possible deployment policy scenarios. For example:
- Deploy when there is "SCM change" if build is started by build timer
- Deploy regardless of "SCM change" if build is started by user
In order to achive this, plugin should group "Deployment policy" and "SCM change" options together and allow user to specify as much group as possible.
Another option is to extend deployment policy list for all possible scenarios. This should be easier to implement and understand. For example:
- Started by user
- Started by user (There is SCM change)
- Started by build timer
- Started by build timer (There is SCM change)
- ...
I will submit a PR with second approach soon. Which approach has better chance of acceptance?