Deploy as Jenkins User or Allow Jenkins To Run As Different User?

前端 未结 2 1916
日久生厌
日久生厌 2021-02-14 21:16

I\'m just getting started with Jenkins CI, and had a question which I\'m struggling to find answers for in the docs or online. Wonder if someone might be able to offer some adv

2条回答
  •  长发绾君心
    2021-02-14 22:00

    I have not worked with Github and so this answer may not apply at all, but we do use Jenkins and we use both CVS & Subversion for source control.

    In our system, we use different username/password combinations for all three (Jenkins, CVS, Subversion), and it has had no adverse effects yet (it has been a year since we deployed Hudson - currently building 50+ projects).

    As long as you can get Jenkins to access the repo using your github deploy key, you shouldn't have to change Jenkins to run as django, or create a jenkins user key for github. Personally, I would keep them separate.

提交回复
热议问题