Jenkins set git timeout (win version)

Thatchai
1 min readJan 13, 2020

--

เพิ่ม -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=20 ใน jenkins.xml

before

<arguments>-Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080 --webroot="%BASE%\war"</arguments>

after

<arguments>-Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=60 -jar "%BASE%\jenkins.war" --httpPort=8080 --webroot="%BASE%\war"</arguments>

--

--

Thatchai
Thatchai

No responses yet