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.)