Authenticate Jenkins users against JIRA

╄→гoц情女王★ 提交于 2019-12-12 10:35:19

问题


We are currently setting up Confluence, JIRA and Jenkins and I would rather have only one user database that all tools can use than having to create separate accounts in each tool. Google tells me that Jenkins can authenticate and authorize users against Atlassian Crowd. Confluence can use Crowd and also JIRA for user management.

But can Jenkins use JIRA (not Crowd) as its user database, to authenticate and authorize users against it?


回答1:


One method is with the Crowd2 (Jenkins plugin).

From Jira

  1. Goto Admin Cog > User Management
  2. "JIRA User Server" (left side)
  3. Click "+Add application" (top right side)

    Notes: To specify a port with the IP address(es) in Jira, use XX.XX.XX.XX/PORT format. Jira user must have admin permissions.

From Jenkins

  1. Goto "Manage Jenkins" (left side) > Manage Plugins > Available Tab
  2. Download crowd2 plugin
  3. Goto "Manage Jenkins" (left side) > "Configure Global Security"

    Notes: Requires Jenkins admin access.



来源:https://stackoverflow.com/questions/15411208/authenticate-jenkins-users-against-jira

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