Using Git with Hudson [message #1083350] |
Fri, 09 August 2013 17:03  |
Eclipse User |
|
|
|
I'm trying to get Hudson working on a new machine. From the main dashboard I click on <Manage Hudson> and then <Configure System>. Then I scroll down to the section labeled <Git>. There's a textbox labeled <Path to Git executable>; I enter into that textbox "C:/tools/Git/cmd/git.exe", and then click on <Save> down at the bottom of the page.
At this point I click on the icon on the left of the main dashboard for our Firefox UI build and start that build going on the machine of my choice. It runs for a few seconds, and then dies. The console output is:
Started by user anonymous
Building remotely on Lynx Hudson Slave 2
..........<snip>..........
Fetching changes from the remote Git repository
Fetching upstream changes from git@github.com:fs-eng/links
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
hudson.plugins.git.GitException: Error performing command: C:/tools/Git/cmd/git.exe fetch -t git@github.com:fs-eng/links +refs/heads /*:refs/remotes/origin/*
Cannot run program "C:/tools/Git/cmd/git.exe" (in directory "C:\Users\hudson\workspace\Links-UI-Firefox"): CreateProcess error=2, The system cannot find the file specified
at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:747)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:709)
..........<snip>..........
I brought up a command prompt, and verified that "git.exe" actually exists at "C:\tools\Git\cmd\git.exe". Furthermore, I know I can execute it because I can type in "git --version" and get the version number. Does anyone know what I'm doing wrong?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 2.65776 seconds