Jun 8, 2018

How to set up Jenkins to access your remote Git repository

Put repository url for example

[email protected]:i88ca/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.i88.ca to your Jenkins account's known_hosts file.