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

心已入冬 提交于 2019-12-03 13:22:42

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.

Arun Sangal

Did you try this?

  1. Contact your OS admin team to grant to access to perform few operations on your version control using SUDO access.

  2. OR run the command using sudo -H -u <username> command parameters..

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!