Why hudson/jenkins tries to make commit?

那年仲夏 提交于 2019-12-04 02:20:34
J-16 SDiZ

Check "Skip internal tag" config under "Advanced..." in section "Source code management".

It will skip the tagging.

VonC

Note: the Hudson bug 3874 mentions:

tagging fails if there's no ~/.gitconfig, and you get the following error:

workspace] $ git tag -a -f -m "Hudson Build #34" hudson-JAMCircle-34
FATAL: Could not apply tag hudson-JAMCircle-34

Make sure you have a HOME defined for the user running the Hudson process, and make sure there is a .gitconfig, with at least user.name defined in it (See this blog post for instance).
If needed, configure those variables within Hudson itself through GIT_COMMITTER_NAME, GIT_COMMITTER_EMAIL, GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL environment variables (Cf this example).


That being said, considering the issue HUDSON-5676 , you should have an option "Tag every build automatically" that you can change to unchecked, in order to avoid the tag entirely.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!