How to set up Jenkins to access your remote Git repository

Put repository url for example

git@github.com:goyun.info/AmazonSESExampleByJavaMail.git

as your Git  repository url.

Then you need to add your Jenkins public ssh key to your Git repository server. You could make it read only.

You also need to add your Git repository server for example git.goyun.info to your Jenkins account's known_hosts file.

Comments

Popular posts from this blog

Check MySQL query history from command line

Installing chocolatey on Windows