CC.net and GitHub Private Repositories
-
27-10-2019 - |
题
Has anyone been able to figure out how to configure the ccnet source control settings to connect to a private github repository?
解决方案
I figured it out using an array of articles and blogs online. It's actually quite simple.
- Setup your ssh keys without a paraphrase. It's key that you do not put a paraphrase.
- After setting up your keys in C:\Users[User].ssh directory, copy all of the contents from this folder into C:\Program Files (x86)\Git.ssh. Further information as to why here.
- Configure the Git Source Control Block within your cc.net configuration.
It should now work. You can setup an interval trigger, and automatically kick off your project tasks using private repositories hosted on GitHub.
不隶属于 StackOverflow