-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 1.646
Version Number Plug-In v1.6
Thank you for the versionnumber Jenkins plugin.
I would like the versionnumber Jenkins plugin to support simple arithmetic to calculate the build version number.
An example version number format string:
1.0.(1200 * ${YEARS_SINCE_PROJECT_START}) + ${BUILD_MONTH, X}${BUILD_DAY, XX}.${BUILDS_TODAY, X}
In this way, if my project started in 2015, the last build in that year would have a version number of 1.0.1231.1 for example.
And then instead of having to increment the minor version number, the next build in the new year would be 1.0.1301.1 for example.
It doesn't seem that the plugin currently supports this.
Thank you.