Skip to main content
DrDroid connects to Jenkins so DroidAgent can fetch job and build context when debugging deployment or CI failures. Add the integration from the Jenkins setup page or through the VPC agent.

Connection via dashboard

Open Agent Setup → Integrations → Jenkins, or go directly to aiops.drdroid.io/integrations/jenkins. Choose the authentication type that matches your Jenkins setup:

Jenkins Authentication with Crumb

Use this when your Jenkins instance has CSRF protection enabled (the default on many installations). Save and test the connection.

Jenkins Authentication without Crumb

Use this when CSRF protection is disabled or your Jenkins version does not require crumbs for API access. Fill in Integration Name, Jenkins URL, Jenkins Username, and Jenkins API Token the same way as above. Do not enable crumb handling for this connection type.

Create a Jenkins API token

  1. Sign in to Jenkins as the user you will connect with.
  2. Open your user menu → Configure (or Settings).
  3. Under API Token, click Add new Token, name it (e.g. drdroid), and generate it.
  4. Copy the token once and paste it into Jenkins API Token in DrDroid. You cannot view it again after leaving the page.
Use a dedicated service account or bot user with read access to the jobs and folders the agent should inspect.

Connection via VPC agent

If you run DrDroid through the VPC agent, add a Jenkins entry to your secrets.yaml:
See the Jenkins section in the credentials template. Restart or reload the agent after updating secrets.

Permissions

Grant the connected user Read access on the jobs, folders, and views you want available during investigations. Avoid admin-only accounts unless your security policy requires it.