Do you have the ssh keys properly setup so that the Windows machine can ssh
into git server?

Richard.


On Thu, Aug 15, 2013 at 9:59 AM, zw <mpc8...@gmail.com> wrote:

> Hi All
>
> We have a Windows Server 2008 R2 slave configured.
> We have a job to use GIT plugin to run on this slave.
> We also have msysgit 1.8.3 installed.
> Its USERPROFILE=C:\Windows\system32\config\systemprofile
> What are we doing wrong ?
>
> When we run, the job seems to hang with following output:
>
> C:\Git\cmd\git.exe clone --progress -o Local-test 
> ssh://abc@t.t.t/some/file/system
> C:\jenkins\workspace\job1: stderr copier
>
> "C:\Git\cmd\git.exe clone --progress -o Local-test ssh://abc@t.t.t
> /some/file/system C:\jenkins\workspace\job1: stderr copier" Id=42
> Group=main RUNNABLE (in native)
> at java.io.FileInputStream.readBytes(Native Method)
> at java.io.FileInputStream.read(Unknown Source)
> at hudson.util.StreamCopyThread.run(StreamCopyThread.java:60)
>
> C:\Git\cmd\git.exe clone --progress -o Local-test 
> ssh://abc@t.t.t/some/file/system C:\jenkins\workspace\job1:
> stdout copier
>
> "C:\Git\cmd\git.exe clone --progress -o Local-test 
> ssh://abc@t.t.t/some/file/system C:\jenkins\workspace\job1:
> stdout copier" Id=40 Group=main RUNNABLE (in native)
> at java.io.FileInputStream.readBytes(Native Method)
> at java.io.FileInputStream.read(Unknown Source)
> at java.io.BufferedInputStream.read1(Unknown Source)
> at java.io.BufferedInputStream.read(Unknown Source)
> - locked java.io.BufferedInputStream@3952f8a3
> at java.io.FilterInputStream.read(Unknown Source)
> at hudson.util.StreamCopyThread.run(StreamCopyThread.java:60)
>
> On the job output and hangs there:
> 18:31:52 Building remotely on windows-slave in workspace
> C:\jenkins\workspace\job1
> 18:31:52 Checkout:job1 / C:\jenkins\workspace\job1 -
> hudson.remoting.Channel@105e190f:windows3-slave
> 18:31:52 Using strategy: Default
> 18:31:53 Cloning the remote Git repository
> 18:31:53 Cloning repository ssh://abc@t.t.t/some/file/system
> 18:31:53 git --version
> 18:31:54 git version 1.8.3.msysgit.0
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to