I tried it and it solves the problem, thank you.




2014-08-08 13:42 GMT+02:00 Mark Waite <mark.earl.wa...@gmail.com>:

> If the Jenkins build works without polling, then you could try adding the
> additional behaviour "Polling requires a workspace".  That uses the slave
> which contains the workspace to pill instead of using git ls-remote on the
> master.
>
> Mark Waite
> On Aug 8, 2014 4:06 AM, "Sidoine De Wispelaere" <sido...@gmail.com> wrote:
>
>> Hello,
>>
>> I try to setup Jenkins for our project. We use a Git repository hosted by
>> a TFS server (which only supports HTTP). Everything run on Windows. Only
>> one branch is monitored (test_branch in the example bellow).
>> When I manually start a build, it works nicely, but the Git polling does
>> not work, it never trigger a new build.
>> The logs are:
>>
>> Started on 8 août 2014 09:45:02
>> Using strategy: Default
>> [poll] Last Built Revision: Revision 0a9d8...cdaa (origin/test_branch)
>> using .gitcredentials to set credentials
>>  > git.exe --version # timeout=10
>>  > git.exe init C:\Windows\TEMP\hudson2469859539008880301tmp # timeout=10
>>  > git.exe config --local credential.helper store 
>> --file=\"C:\Windows\TEMP\git3912178865903475115.credentials\" # timeout=10
>>  > git.exe ls-remote -h http://tfs.xxx.com:8080/tfs/xxx/xxx/_git/Xxxx 
>> test_branch # timeout=10
>>
>>
>> Where could I find more details about why it fails to start a new build?
>>
>> I tried Jgit but it returned an exception:
>>
>> hudson.plugins.git.GitException: org.eclipse.jgit.errors.TransportException 
>> authentication not supported
>>
>>  --
>> 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/d/optout.
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/dgpZKtt7k-8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/d/optout.

Reply via email to