use jenkins to build github project

1. install github plugin

2. use gitbash, ssh-keygen to generate ssh key

3. Go to system setting ,set git executable path, please note use: C:\Program Files (x86)\Git\cmd\git.exe, not C:\Program Files (x86)\Git\bin\git.exe

4, create a job, set repository url ([email protected]), credentials(use private key)

相关推荐