So I installed the older pluggin you link, and I am still having the same
issue.  The log still show askpass is being used.

Here is the Centos Jenkin that is working log of the git call

11:40:14 using .gitcredentials to set credentials
11:40:14  > git config --local credential.helper store
--file=/tmp/git6774799234765831045.credentials # timeout=10
11:40:14  > git fetch --tags --progress https://github.com/MyAccount/Sample
+refs/heads/*:refs/remotes/origin/*
11:40:20  > git config --local --remove-section credential # timeout=10
11:40:20  > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
11:40:20  > git rev-parse refs/remotes/origin/origin/dev^{commit} #
timeout=10
11:40:20 Checking out Revision 736768d34c48a7078b6330d8777d2c252291f961
(refs/remotes/origin/dev)
11:40:20  > git config core.sparsecheckout # timeout=10
11:40:20  > git checkout -f 736768d34c48a7078b6330d8777d2c252291f961
11:40:21  > git rev-list 736768d34c48a7078b6330d8777d2c252291f961 #
timeout=10
11:40:26 [workspace] $ /bin/sh -xe /tmp/hudson8706993192070172306.sh

Here is my Mac Jenkins logs

23:36:55 using .gitcredentials to set credentials
23:36:55  > /usr/bin/git config --local credential.username jenkins-builder
# timeout=10
23:36:55  > /usr/bin/git config --local credential.helper store
--file=/Users/Shared/Jenkins/tmp/git5395379929780946755.credentials #
timeout=10
23:36:55  > /usr/bin/git -c core.askpass=true fetch --tags --progress
https://github.com/MyAccount/Sample +refs/heads/*:refs/remotes/origin/*
23:46:55 ERROR: Timeout after 10 minutes
23:46:55  > /usr/bin/git config --local --remove-section credential #
timeout=10
23:46:55 ERROR: Error fetching remote repo 'origin'
23:46:55 hudson.plugins.git.GitException: Failed to fetch from
https://github.com/MyAccount/Sample
23:46:55        at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:799)
23:46:55        at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1055)
23:46:55        at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1086)
23:46:55        at hudson.scm.SCM.checkout(SCM.java:495)
23:46:55        at
hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
23:46:55        at
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
23:46:55        at
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
23:46:55        at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
23:46:55        at hudson.model.Run.execute(Run.java:1741)
23:46:55        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
23:46:55        at
hudson.model.ResourceController.execute(ResourceController.java:98)
23:46:55        at hudson.model.Executor.run(Executor.java:410)
23:46:55 Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git
-c core.askpass=true fetch --tags --progress
https://github.com/MyAccount/Sample +refs/heads/*:refs/remotes/origin/*"
returned status code 143:
23:46:55 stdout: 
23:46:55 stderr: error: git-credential-osxkeychain died of signal 15
23:46:55 
23:46:55        at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1740)
23:46:55        at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1476)
23:46:55        at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
23:46:55        at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
23:46:55        at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:797)
23:46:55        ... 11 more
23:46:55 ERROR: null


This is a little different than the first error as it report an error :
     stderr: error: git-credential-osxkeychain died of signal 15

Anyone know what this error means?  Do I need to have a jenkins account on
my mac?



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Mac-Jenkins-Can-t-Clone-fetch-from-GitHub-tp4842626p4843016.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/1474268885996-4843016.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to