I've configured the GitHub plugin on Jenkins, but while adding repositry i'm getting the below error.
Repository URL
Failed to connect to repository : Error performing command: git.exe ls-remote -h https://github.com/euphoriakabir/webservices.git HEAD
As @ANIL already said, seems to be that Git
tool is not properly configured in your Jenkins.
So, you need to make sure that:
Manage Jenkins -> Global Tool Configuration -> Git
section you have the right path to Git binary (it can be a full path to your binary or just git
if you have configured the full path in the PATH
environment variable). 我重新启动服务器,它为我工作:)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.