iMac 查看进程占用
lsof -i tcp:8080
该命令会显示占用8080端口的进程,有其 pid ,可以通过pid关掉该进程
杀死进程
kill pid
Jenkins:error Failed to connect to repository : Error performing command: ls-remote -h https://github.com/jd2017/autofun.git HEAD
解决:Git installations 中 Path to Git executable 未配置或者路径不对引起;(Set path to git executable. This can be just "git" or complete path.)
网友评论