bnovc
bnovc

Reputation: 449

Hudson git commands are *incredibly* slow

I have installed msysgit, and I am attempting to use it inside of Hudson. Whenever I run a command in an interactive shell, whether it be git-bash or a command prompt, the commands are instant. When I run them in Hudson, they lag for a very long time.

Running /bin/git help took 63 seconds when I just invoked it. I've never waited long enough to see a clone begin outputting (>10 minutes).

The Hudson mailing list is down, so I figured I would try here...

Upvotes: 3

Views: 1463

Answers (2)

ccutrer
ccutrer

Reputation: 396

I've run into this problem as well, and figured out a workaround. When Hudson runs as a service, something is missing that your normal desktop environment has, which causes something to do with the network to have to re-load for each process. msys-1.0.dll attempts to load something in netapi32.dll which causes it to take so long. So I just downloaded plink.exe from PuTTY, and set my GIT_SSH env to use that instead. Problem averted.

Upvotes: 5

Bernard
Bernard

Reputation: 7961

Have you tried using the Git plugin for Hudson?

Upvotes: 0

Related Questions