I am using the Git Plugin of Jenkins ans use Douglas Creager's get_git_version script. This uses git describe to get some sensible version for python modules. Usually this creates something like 0.1-11-g80fe130
, but on jenkins I get:
+ git describe
fatal: No names found, cannot describe anything.
I have configured the plugin not to come up with its own tags through 'skip internal tags'.
Doing an extra checkout of the master branch like in this question about pushing from jenkins doesn't help.