Jenkins Mac slave encountered git: ' Credential-osxkeychain ' is not a git command. Error

Source: Internet
Author: User
Tags java web

Just starting with Jenkins, the unit has a project that both Windows and Macs need to compile.

Equipped with a Jenkins Master, two agent node, a Windows environment, a MAC environment, all Java Web start start.

Download code from git under Windows Well, the Mac has an error:

git: ' Credential-osxkeychain ' is not a git command.

I searched some git-credential-osxkeychain on the internet.

Https://stackoverflow.com/questions/13661354/github-for-mac-error-git-credential-osxkeychain-is-not-a-git-command

Https://stackoverflow.com/questions/35809630/jenkins-git-plugin-with-git-lfs-fails-with-bad-credentials-on-mac-slave

I add the git path to path and set keychain access to the associated key to all apps, or not.

However, according to their description, I use the git command line directly under the Mac is good, is not my git command location is wrong?

Sure enough, the location of git in Jenkins node is/usr/bin/git, and I started filling in the local directory.



Jenkins Mac slave encountered git: ' Credential-osxkeychain ' is not a git command. Error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.