title: Hudson, windows2008 and git plugin
body: <p>I got hudson up and running. Installed git plugin. Created new job, typed in git repository URL, saved and hit 'build now'.</p>
  
  <p>It just freezes. When i cancel build, this is what I get:</p>
  
  <blockquote>
    <p>Started by user anonymous<br>
    Checkout:workspace / C:\Users\taboo_user.TABOO.hudson\jobs\Interreg\workspace - hudson.remoting.LocalChannel@94aa42
    Using strategy: Default<br>
    Checkout:workspace / C:\Users\taboo_user.TABOO.hudson\jobs\Interreg\workspace -   hudson.remoting.LocalChannel@94aa42<br>
    GitAPI created<br>
    Cloning the remote Git repository<br>
    Cloning repository origin<br>
    $ "C:\Program Files\Git\bin\git.exe" clone -o origin git@subversion.alise.lv:interreg.git   C:\Users\taboo_user.TABOO.hudson\jobs\Interreg\workspace
    ERROR: Error cloning remote repo 'origin' : Could not clone   git@subversion.alise.lv:interreg.git
    ERROR: Cause: Error performing C:\Program Files\Git\bin\git.exe clone -o origin   git@subversion.alise.lv:interreg.git C:\Users\taboo_user.TABOO.hudson\jobs\Interreg\workspace<br>
    null<br>
    Trying next repository<br>
    ERROR: Could not clone repository<br>
    FATAL: Could not clone  </p>
  </blockquote>
  
  <p>I'm googling for about 2 hours now with no results.</p>
  
  <p>Windows event viewer is empty.</p>
  
  <p>Tried setting specific user for hudson windows service, that has correct ssh key, known hosts and is able to git clone from command line repo w/o problems.</p>
  
  <p>Tried to parametrize hudson build with <code>%HOME%</code> variable.</p>
  
  <p>Tried to add <code>c:/program files/git/bin</code> folder to PATH env variable.</p>
  
  <p>Tried to explicitly tell hudson that it should use <code>c:/program files/git/bin/git.exe</code>.</p>
  
  <hr>
  
  <p>There are bunch of info around this error message but nothing helps so far. Got no ideas anymore.</p>
  
  <p>Any help?  </p>
  
  <hr>
  
  <blockquote>
    <p>echo $USERNAME<br>
    echo $HOMEPATH<br>
    echo $HOME  </p>
  </blockquote>
  
  <p>returns </p>
  
  <blockquote>
    <p>[workspace] $ sh -xe C:\Users...<br>
    + echo taboo_user<br>
    taboo_user<br>
    + echo '\'<br>
    \<br>
    + echo  </p>
  </blockquote>
  
  <p>User name is correct for sure.</p>