HI,  I am new to setting up Jenkins.  I am trying to setup a Jenkins server
on a Mac Mini.  I am having trouble with the Jenkins setup because I made a
simple project that is to sync to a github repo and then run a script. 
Unfortunately I can't get this simple project to run correctly.  I keep
getting a timeout error.  Here is a Console output.

 15:16:57 Building in workspace
/Users/Shared/Jenkins/Home/workspace/MacWitchesServers
15:16:57  > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
15:16:57 Fetching changes from the remote Git repository
15:16:57  > /usr/bin/git config remote.origin.url
https://github.com/MyAccount/sample # timeout=10
15:16:57 Fetching upstream changes from https://github.com/MyAccount/sample
15:16:57  > /usr/bin/git --version # timeout=10
15:16:57 using GIT_ASKPASS to set credentials 
15:16:57  > /usr/bin/git fetch --tags --progress
https://github.com/MyAccount/sample +refs/heads/*:refs/remotes/origin/*
15:26:57 ERROR: Timeout after 10 minutes
15:26:57 ERROR: Error fetching remote repo 'origin'
15:26:57 hudson.plugins.git.GitException: Failed to fetch from
https://github.com/MyAccount/sample
15:26:57        at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:797)
15:26:57        at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1051)
15:26:57        at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1082)
15:26:57        at hudson.scm.SCM.checkout(SCM.java:495)
15:26:57        at
hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
15:26:57        at
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
15:26:57        at
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
15:26:57        at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
15:26:57        at hudson.model.Run.execute(Run.java:1741)
15:26:57        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
15:26:57        at
hudson.model.ResourceController.execute(ResourceController.java:98)
15:26:57        at hudson.model.Executor.run(Executor.java:410)
15:26:57 Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git
fetch --tags --progress https://github.com/MyAccount/sample
+refs/heads/*:refs/remotes/origin/*" returned status code 143:
15:26:57 stdout: 
15:26:57 stderr: 
15:26:57        at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1752)
15:26:57        at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1495)
15:26:57        at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64)
15:26:57        at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315)
15:26:57        at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:795)
15:26:57        ... 11 more
15:26:57 ERROR: null

I su jenkins and did a manual git fetch and there was no issue.  Do anyone
know where I am going wrong.  I did a normal installation of jenkins and
selected plugin related to github.

I am running Jenkins ver. 2.7.4

Thank you for any help, and I stuck at this point.



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Mac-Jenkins-Can-t-Clone-fetch-from-GitHub-tp4842626.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
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/1474065395598-4842626.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to