Global Git config update in Jenkins

57 views
Skip to first unread message

Nitish Goel

unread,
Aug 1, 2018, 7:41:40 PM8/1/18
to Jenkins Users
Hi ,

I want to add few of git configuration as below in my jenkins so that this configuration is global to all git running jobs in any of the slave.

git config lfs.activitytimeout 120
git config lfs.transfer.maxretries 20
git config –global credential.helper cache'

Can you please let me know where I need to add these details? In my configuration, I do not see any configurations where I can provide these details.

Git installations
Git
 Name
 Path to Git executableHelp for feature: Path to Git executable


Thanks,
Nitish Goel

Mark Waite

unread,
Aug 1, 2018, 11:53:27 PM8/1/18
to jenkins...@googlegroups.com
There isn't a way to configure those types of settings from the git plugin.

Can you explain why you want to set credential helper cache?

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/f2e72213-6c6c-4c98-b3ec-c404d8722bf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages