Skip to main content

Hudson won't save the Git Identity configuration

  4 posts   Feedicon  
Replies: 3 - Last Post: August 03, 2011 23:32
by: Winston Prakash
showing 1 - 4 of 4
Posted: July 31, 2011 21:20 by mltsy
I've tried entering a and in both the overall Hudson configuration, and in the configuration for a single project, and in both cases, after clicking save, nothing changes, and the values are not saved.

Because it lacks an identity, Hudson can't tag branches, and fails to build my git project.
Posted: July 31, 2011 21:28 by mltsy
I did find a workaround for this:

Log into your server and do the following (on Linux):
su hudson   # The user hudson runs as - for me it's hudson
git config --global "Hudson User"
git config --global ""

That sets the global config for hudson. IT still wont' show up in the management UI, but at least it will allow hudson to checkout and tag projects.
Posted: July 31, 2011 22:57 by mltsy
As it turns out, I just needed to update the Git plugin. The current Hudson comes with the git plugin pre-installed, but not updated to the latest version. So just go to "Manage Plugins" under "Manage Hudson" and update the Git plugin. Problem solved! Smile
Posted: August 03, 2011 23:32 by Winston Prakash
The bundled Hudson plugins are usually lag by one release, since the plugin itself need to be built on a released version of Hudson. Glad your problem is solved by latest release.
Replies: 3 - Last Post: August 03, 2011 23:32
by: Winston Prakash
Please Confirm