git versioning

35 views
Skip to first unread message

mol...@unavco.org

unread,
May 4, 2016, 4:19:36 PM5/4/16
to Jenkins Users
Hello, 

I have run into some issues with the Jenkins git plugin. I ran into the following error. 
Failed to connect to repository : Command "git config --local credential.username molnar" returned status code 129:
stdout: 
stderr: error: unknown option `local'


I understand is is because the version of git where jenkins is running is 1.7.1, and the --local argument was added in a later version. So we need to update git on our Jenkins server. 

The trouble I am having is which version of git should we update to. I searched around this usergroup and couldn't find anything related, and the git-client module's page is broken (https://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin). I see version 2.8.2 is the latest git version, is the compatible the jenkins git module? 

Thank you,
Collin 

Mark Waite

unread,
May 4, 2016, 7:45:31 PM5/4/16
to Jenkins Users
Command line git 2.8.2 is well tested with the git plugin.  I use that version (delivered through a Ubuntu PPA) on Ubuntu 14.04 for all my development and testing of the git plugin and git client plugin.  Other git versions (like 1.7.1) are also included in the testing, but first compilation and run of unit tests always happens on the latest git version first.

Mark Waite 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f44fdf7a-1c4e-41e7-9aca-238a7c2e37e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages