Reputation: 62185
I'm in the process of implementing CD with Maven and Jenkins and was just wondering:
Instead of Maven's major.minor.version
scheme for the version, why not just use Jenkins build number?
That way the whole versioning could be fully automated, right?
Upvotes: 0
Views: 344
Reputation: 2026
You could do so... However, all platform have some recommended versioning system that you should follow such as
MacOS have 3 digit versioning system
Windows have 4 digit versioning.
You can easily achieve it, just write shell script to modify it in your jenkins build configuration.
major.minor.<you can have jenkins build number>
Upvotes: 1