Re: Mac Jenkins Can't Clone/fetch from GitHub

2018-05-04 Thread Mitch Stoner
Denis, I had the same problem so I needed to do this and now it is working fine: 1. Stop the current Jenkins on your mac. sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist 2. Copy org.jenkins-ci.plist file: sudo cp /Library/LaunchDaemons/org.jenkins-ci.plist ~/Desktop sudo chown

Re: Mac Jenkins Can't Clone/fetch from GitHub

2018-03-01 Thread Denis Kazantsev
This helped with my problem. But after macOS reboot (OS update was installed) Jenkins roll backed to previous version. And also now I have different problem with Ant but I'm not sure that it's related to this issue. On Wednesday, May 24, 2017 at 6:00:20 AM UTC+3, Shuguo Yang wrote: > > Hey,

Re: Mac Jenkins Can't Clone/fetch from GitHub

2018-01-11 Thread Mark Waite
On Thu, Jan 11, 2018 at 7:15 PM Eric wrote: > I have this configured this way as well, but it still hangs on: > > git fetch --tags --progress git@git.world1:space.git >> +refs/heads/*:refs/remotes/origin/* > > > SSH'ing into Jenkins and running git clone with the same key in

Re: Mac Jenkins Can't Clone/fetch from GitHub

2018-01-11 Thread Eric
I have this configured this way as well, but it still hangs on: git fetch --tags --progress git@git.world1:space.git > +refs/heads/*:refs/remotes/origin/* SSH'ing into Jenkins and running git clone with the same key in ~/.ssh works just fine git clone git@git.world1:space.git > On

Re: Mac Jenkins Can't Clone/fetch from GitHub

2017-08-21 Thread Ashwin Ganesh
Hi, I am facing this issue: Git fetch timeout - while checking out from a private repo - PFB the log: Building in workspace /Users/Shared/Jenkins/Home/workspace/iOS job > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config

Re: Mac Jenkins Can't Clone/fetch from GitHub

2017-06-05 Thread Mark Waite
>From the "Global Tool Configuration" page of "Manage Jenkins", configure a Maven installer that downloads the maven version you need from the apache distribution locations. Jenkins will then install that tool for you automatically when you define the job to require that version of maven. Mark

Re: Mac Jenkins Can't Clone/fetch from GitHub

2017-06-05 Thread Techos
Hello, Thanks for your help, I have the same problem and it's ok now. but, I have a new problem *Cannot run program "mvn" (in directory "/Users/xxx/.jenkins/jobs/myproject/workspace* Do someone has any idea? Thanks. Le mercredi 24 mai 2017 05:00:20 UTC+2, Shuguo Yang a écrit : > > Hey,

Re: Mac Jenkins Can't Clone/fetch from GitHub

2017-06-01 Thread Hải Châu Nguyễn Phạm
Thank you so much! You saved my day. On Wednesday, May 24, 2017 at 10:00:20 AM UTC+7, Shuguo Yang wrote: > > Hey, this is because Jenkins is running as the user jenkins, which is not > the current user on your mac. > > The default path is "/User/Share/Jenkins", install it under >

Re: Mac Jenkins Can't Clone/fetch from GitHub

2017-05-23 Thread 'Shuguo Yang' via Jenkins Users
Hey, this is because Jenkins is running as the user jenkins, which is not the current user on your mac. The default path is "/User/Share/Jenkins", install it under "$HOME/.jenkins" to make it work. So: 1. Stop the current Jenkin on your mac. *sudo launchctl unload

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-10-04 Thread Hung
Well, I have an update. I am not sure this is as intended but here is what I had to do to get Jenkins working on my machine. I had to make the jenkins user a login able user. When I su jenkins to see what was happening with git, I notice we kept getting an error in the keychain saying it had

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-19 Thread Hung
Hi, So I install Jenkins on another mac, this one using my home network with no firewalls. I still can't get it to work. Here is my log, also using the older git plugin, here is the log, different error but still unable to process git request. using .gitcredentials to set credentials > git

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-19 Thread Ankit Arora
Hi, I am also getting Error while Connecting Jenkins from Github. *Error : Failed to connect to repository : Error performing command: git.exe ls-remote -h* Please suggest the solution *//BR* *Ankit AroraTest Engineer * *✉ : **ankitarora...@gmail.com || ankitarora...@gmail.com* *☎ :*

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-19 Thread Hung
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

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Hung
Yes, it is running Mac git 1.9.5, with Git LFS installed. -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Mac-Jenkins-Can-t-Clone-fetch-from-GitHub-tp4842626p4842703.html Sent from the Jenkins users mailing list archive at Nabble.com. -- You received this message

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Mark Waite
No, there is no requirement for an id or a description. If you're using a username and password, then (as far as I can tell) you should be ok. Is the version of command line git running on your MacOS machine at least 1.7.10? Mark Waite On Fri, Sep 16, 2016 at 9:33 PM Hung

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Hung
I have the first, username and password. I didn't do an id or description, is that bad? I will try to add another one to see if maybe I type something wrong. I though everything was good because when I had wrong data I get a big red warning that it couldn't authenticate. This is unfortunate

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Mark Waite
You need a credential that looks like this -> [image: github-username-password.png] You don't want a credential that looks like this -> [image: github-rsa-private-key.png] Mark Waite On Fri, Sep 16, 2016 at 8:33 PM Hung wrote: > Thanks, I will try to see if I can

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Hung
Thanks, I will try to see if I can this to work a little more before trying to install older version of git. I didn't any setting for me to choose https or ssh. I just added the credentials in the SCM location when i added my repo. I chose username and password and provided both. Here is image

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Mark Waite
The git plugin switched from using .gitcredentials to using GIT_ASKPASS with the git plugin 3.0 release (and the git client plugin 2.0 release). That change was needed so that we could support authenticated submodules. If you're willing to explore, you could download the older plugin versions

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Hung
Hi Mark, Thank for for your reply and help. I tried the public repo and I was able to download just find. So it does look like it is the credentials. My environment block ssh incoming and out going so I can't use ssh as a way to access the private repo. I am currently using username and

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Mark Waite
That looks like the problem may be that you didn't assign credentials to the job or that you assigned ssh credentials to a repository that uses https, and you're trying to clone a private repository. However, you may want to try a series of small experiments to see which area has the problem.