-
Improvement
-
Resolution: Unresolved
-
Trivial
-
None
As described in ParameterizedJobMixIn.scheduleBuild2, passing -1 as the quietPeriod causes the method to use the default quiet period configured for the job. If plugin authors have warnings or style checkers configured to reject "magic constants", then it is necessary to give this value a name and use it in the call to scheduleBuild2. For convenience of use, we should expose a static constant e.g. USE_DEFAULT_QUIET_PERIOD with the value -1 so each plugin author does not have to add include such a constant in their code.