this is odd since running the same commands from command line (on the same 
machine) works like a charm.

is there a way to test the connection?


On Sunday, June 5, 2016 at 2:51:24 PM UTC+3, Mark Waite wrote:
>
> That message (timeout from http or https access to a repository) usually 
> means that you either did not enter credentials, did not select to use 
> credentials for the repository (username / password in the case of http or 
> https), or that you entered incorrect credentials.  The Jenkins credentials 
> system will allow you to enter credentials once (from "Manage Jenkins" the 
> "Credentials"), then reuse them for many jobs.
>
> Thanks,
> Mark Waite
>
> On Sun, Jun 5, 2016 at 4:37 AM Aviad Sharfshtein <avi...@gmail.com 
> <javascript:>> wrote:
>
>> Hi,
>>
>> I'm new to Jenkins, and trying to run it locally from my windows machine.
>> however I got the following exception:
>>
>> Started by user anonymous
>> Building in workspace C:\workPrograms\jenkins\jobs\server1\workspace
>>  > git.exe rev-parse --is-inside-work-tree # timeout=10
>> Fetching changes from the remote Git repository
>>  > git.exe config remote.origin.url http://mygit.com/backend/server.git 
>> # timeout=10
>> Fetching upstream changes from http://mygit.com/backend/server.git
>>  > git.exe --version # timeout=10
>>  > git.exe -c core.askpass=true fetch --tags --progress 
>> http://mygit.com/backend/server.git +refs/heads/*:refs/remotes/origin/*
>> ERROR: Timeout after 10 minutes
>> ERROR: Error fetching remote repo 'origin'
>> hudson.plugins.git.GitException: Failed to fetch from 
>> http://mygit.com/backend/server.git
>> at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:810)
>> at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1066)
>> at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097)
>> at hudson.scm.SCM.checkout(SCM.java:485)
>> at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
>> at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
>> at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
>> at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
>> at hudson.model.Run.execute(Run.java:1738)
>> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
>> at hudson.model.ResourceController.execute(ResourceController.java:98)
>> at hudson.model.Executor.run(Executor.java:410)
>> Caused by: hudson.plugins.git.GitException: Command "git.exe -c 
>> core.askpass=true fetch --tags --progress 
>> http://mygit.com/backend/server.git +refs/heads/*:refs/remotes/origin/*" 
>> returned status code -1:
>> stdout: 
>> stderr: 
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463)
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
>> at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:808)
>> ... 11 more
>> ERROR: null
>> Finished: FAILURE
>>
>> what am I missing here?
>>
>> Aviad
>>
>> -- 
>> 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-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/54b683b8-1366-49db-891f-cf5ac1cd6c8e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/54b683b8-1366-49db-891f-cf5ac1cd6c8e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9d8c97b3-f8c1-4e25-a7e9-2a31e3c1847c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to