Jenkins fails to fetch repo from GitStack server

I can clone/pull/push/fetch using git ("directly"); but Jenkins (git plugin) failed to do that.
Jenkins fails/stuck to fetch a repo hosted by the GitStack server.:

Console Output

Started by user Administrator
Building in workspace C:\Jenkins\workspace\TestBuild
 > git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git.exe config remote.remote.url http://server-pc/Test2.git # timeout=10
Fetching upstream changes from http://server-pc/Test2.git
 > git.exe --version # timeout=10
using GIT_ASKPASS to set credentials 
 > git.exe fetch --tags --progress http://server-pc/Test2.git +refs/heads/*:refs/remotes/remote/*
ERROR: Timeout after 10 minutes
ERROR: Failed to join a process
org.jvnet.winp.WinpException: Failed to read environment variable table error=299 at .\envvar-cmdline.cpp:201
	at org.jvnet.winp.Native.getCmdLineAndEnvVars(Native Method)
	at org.jvnet.winp.WinProcess.parseCmdLineAndEnvVars(
	at org.jvnet.winp.WinProcess.getCommandLine(
	at hudson.util.ProcessTree$Windows$1.getArguments(
	at hudson.plugins.msbuild.MsBuildKillingVeto.vetoProcessKilling(
	at hudson.util.ProcessTree$OSProcess.getVeto(
	at hudson.util.ProcessTree$Windows$1.killRecursively(
	at hudson.util.ProcessTree.killAll(
	at hudson.Proc$LocalProc.destroy(
	at hudson.Proc$LocalProc.kill(
	at hudson.Proc$
	at java.util.concurrent.Executors$ Source)
	at Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$ Source)
	at Source)

Any idea?
asked December 3, 2016

1 Answer

Very weird. As the regular git client works, I would recommend to make a post on the jenkins forum.

Your Answer

Please login to post questions.