I have tried the autoincrementer plugin to share build number (4th number in the version string) across branches of the same project.
However, it has the drawback to increment the build number even when no change has been made in code. I would like the build number to increment only after a commit has been made. Then multiple builds with name build number will refer to the same instant of code development.
Is there an easy way to do this, or would this be possible to do in a new custom plugin?