我用的是詹金斯的Git Plugin和Douglas Creager's get_git_version脚本。这使用git-descripe为python模块获得一些合理的版本。通常这会产生类似0.1-11-g80fe130
的效果,但在詹金斯身上我得到:
+ git describe
fatal: No names found, cannot describe anything.
我已经将插件配置为不通过“跳过内部标记”来创建自己的标记。
像在this question about pushing from jenkins中那样对主分支执行额外的签出没有帮助。
目前没有回答
相关问题 更多 >
编程相关推荐