removes first letter capitalization from the valid time periods, e.g.:
- Second -> second;
- Minute -> minute;
- Hour -> hour;
- and so on...
- only lowercase time periods are recognized by Jenkins Branch API Plugin:
- that can be observed on the plugin implementations themselves:
- https://github.com/jenkinsci/branch-api-plugin/search?q=Minute
- on the Message.properties file it can be verified that the
value of the "Minute" property is actually "minute", and that
can also be validated pratically, setting the durationName
XML to "Minute" is not effective, Jenkins effectively
interprets it as default "Hour" since "Minute" is not valid.
Change-Id: I25f0a3945b9d708fa2de5c5fdb7f39a9432b5cc3