jenkinsci / gradle-jpi-plugin

Build Jenkins Plugins with Gradle
79 stars 50 forks source link

Default CD Versioning (JEP-229) #214

Closed sghill closed 1 year ago

sghill commented 1 year ago

The gradle-jpi-plugin is unopinionated with regard to versioning. JEP-229 outlines requirements for creating sensible version numbers automatically.

One possible solution would be to use jgit to resolve the commit depth and append the short version of the current hash. Some api plugins will use the library version as a prefix.

This is an action item from #213.