Florian
Florian

Reputation: 544

Authenticate Jenkins users against JIRA

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?

Upvotes: 10

Views: 8613

Answers (1)

Siva Mandadi
Siva Mandadi

Reputation: 3881

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.

    Jira User Server

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.

    Configure Global Security

Upvotes: 23

Related Questions