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


i'm getting started jenkins ci, , had question i'm struggling find answers in docs or online. wonder if might able offer advice?

i'm attempting use automatically deploy dev , stage branches of django projects hosted on github organisation repository (ie, private). @ moment have user "django" can access github repo via github deploy key. jenkins user can't access repo. what's best practice way of dealing - should creating ssh deploy key "jenkins" user, or should getting jenkins run "django" user? i've seen mention if hudson_user in newsgroup post, can't find reference in docs.

many thanks!

ludo.

i have not worked github , answer may not apply @ all, use jenkins , use both cvs & subversion source control.

in our system, use different username/password combinations 3 (jenkins, cvs, subversion), , has had no adverse effects yet (it has been year since deployed hudson - building 50+ projects).

as long can jenkins access repo using github deploy key, shouldn't have change jenkins run django, or create jenkins user key github. personally, keep them separate.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -