Authenticate Jenkins users against JIRA

jenkins, jira

Solution

One method is with the Crowd2 (Jenkins plugin).

From Jira

- Goto Admin Cog > User Management

- "JIRA User Server" (left side)

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

- Goto "Manage Jenkins" (left side) > Manage Plugins > Available Tab

- Download crowd2 plugin

Goto "Manage Jenkins" (left side) > "Configure Global Security"

Notes: Requires Jenkins admin access.

Problem

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?

Original source