Skip to main content

Jenkins

Jenkins is an open-source CI/CD automation server used for building, deploying, and automating software development pipelines. You can bring job and user data from Jenkins into Brinqa to gain a unified view of your CI/CD infrastructure, thus strengthening your cybersecurity posture.

This document details the information you must provide for the connector to authenticate with Jenkins and how to obtain that information from Jenkins. See create a data integration for step-by-step instructions on setting up the integration.

Required connection settings

When setting up a data integration, select Jenkins from the Connector dropdown. If you cannot find the connector in the dropdown, make sure that you have installed it first. You must provide the following information to authenticate Jenkins with Brinqa:

  • URL: The Jenkins base URL (e.g., https://jenkins.example.com).

  • User Name: The Jenkins username used for authentication.

  • API Token: The Jenkins API token. This can be generated from Jenkins at User → Configure → API Token.

The connector authenticates using Basic Authentication. It encodes the username and API token as a Base64-encoded username:apiToken pair and includes it in the Authorization header for all API requests.

Additional settings

The Jenkins connector contains additional options for specific configuration:

  • Page size: The maximum number of records to get per API request. The default setting is 100.
  • Maximum retries: The maximum number of times that the integration attempts to connect to the Jenkins API before giving up and reporting a failure. The default setting is 5.

Types of data to retrieve

The Jenkins connector can retrieve the following types of data from the Jenkins API:

Table 1: Data retrieved from Jenkins

Connector ObjectRequiredMaps to Data Model
JobYesCode Repository
PeopleYesPerson
info

The Jenkins connector does not currently support operation options for the types of data it retrieves.

For detailed steps on how to view the data retrieved from Jenkins in the Brinqa Platform, see How to view your data.

Attribute mappings

Expand the sections below to view the mappings between the source and the Brinqa data model attributes.

Job

Table 2: Job attribute mappings

Source Field NameSDM Attribute
Build.buildingLAST_BUILD_BUILDING
Build.displayNameLAST_BUILD_DISPLAY_NAME
Build.durationLAST_BUILD_DURATION
Build.timestampLAST_BUILD_TIMESTAMP
config.xml → definitionDEFINITION
config.xml → jdkJDK
config.xml → keepDependenciesKEEP_DEPENDENCIES
config.xml → scm → branches → nameSCM_BRANCHES
config.xml → scm → userRemoteConfigs → urlSCM_URL
config.xml → triggersTRIGGERS
config.xml root attributePLUGIN
Generated (set to "Application")CATEGORIES
Generated (derived from job color)STATUS
Generated (sync capture timestamp)LAST_CAPTURED
JobResource.classNameCLASS_NAME
JobResource.colorCOLOR
JobResource.urlUID
JobResource.urlURL
JobStatusResource.buildableBUILDABLE
JobStatusResource.concurrentBuildCONCURRENT_BUILD
JobStatusResource.descriptionDESCRIPTION
JobStatusResource.disabledDISABLED
JobStatusResource.displayNameDISPLAY_NAME
JobStatusResource.fullDisplayNameFULL_DISPLAY_NAME
JobStatusResource.fullNameNAME
JobStatusResource.healthReport[0].descriptionHEALTH_DESCRIPTION
JobStatusResource.healthReport[0].scoreHEALTH_SCORE
JobStatusResource.inQueueIN_QUEUE
JobStatusResource.lastBuild.numberLAST_BUILD_NUMBER
JobStatusResource.lastBuild.resultLAST_BUILD_RESULT
JobStatusResource.lastBuild.urlLAST_BUILD_URL
JobStatusResource.lastCompletedBuild.numberLAST_COMPLETED_BUILD_NUMBER
JobStatusResource.lastFailedBuild.numberLAST_FAILED_BUILD_NUMBER
JobStatusResource.lastStableBuild.numberLAST_STABLE_BUILD_NUMBER
JobStatusResource.lastSuccessfulBuild.numberLAST_SUCCESSFUL_BUILD_NUMBER
JobStatusResource.lastUnstableBuild.numberLAST_UNSTABLE_BUILD_NUMBER
JobStatusResource.lastUnsuccessfulBuild.numberLAST_UNSUCCESSFUL_BUILD_NUMBER
JobStatusResource.nextBuildNumberNEXT_BUILD_NUMBER
People

Table 3: People attribute mappings

Source Field NameSDM Attribute
Generated (set to "Identity")CATEGORIES
Generated (set to "active")STATUS
Generated (sync capture timestamp)LAST_CAPTURED
PeopleResource.lastChangeLAST_CHANGE
PeopleResource.projectPROJECT
PeopleResource.user.absoluteUrlURL
PeopleResource.user.fullNameNAME
PeopleResource.user.fullNameUID

APIs

The Jenkins connector uses the Jenkins Remote Access API. Specifically, it uses the following endpoints:

Table 4: Jenkins API endpoints

Connector ObjectAPI Endpoint
JobGET /api/json
GET /job/{name}/api/json
GET /job/{name}/config.xml
PeopleGET /asynchPeople/api/json

Changelog

The Jenkins connector has undergone the following changes:

Table 5: Jenkins connector changelog

VersionDescriptionDate Published
3.0.1Initial Integration+ release.May 4th, 2026