Skip to main content

Jenkins

Configuration Management

This connector integrates with Jenkins CI/CD servers, enabling synchronization of build automation inventory into the Brinqa platform. It connects to the Jenkins Remote Access API using Basic Authentication with a username and API token, and retrieves the jobs defined on the Jenkins controller — along with their build status, health, and XML configuration — and the user accounts known to the controller.

Key capabilities:

  • Job sync — Jobs discovered from the Jenkins root (GET /api/json), mapped to CodeRepository assets. Each job merges three sources: the root listing (name, URL, class, color), the per-job status detail (GET {job}/api/json — buildable/queued/disabled flags, health report, and last build, successful, failed, completed, stable, unstable, and unsuccessful build numbers), and the per-job configuration (GET {job}/config.xml — plugin, pipeline definition, triggers, JDK, and SCM repository URL and branch)
  • Folder traversal — Jobs nested inside folders and multi-job pipelines are discovered one level deep by following each folder's api/json endpoint; jobs are de-duplicated by URL
  • Parallel detail fetching — Per-job status and configuration are retrieved concurrently across a fixed thread pool, and a job whose status or config request fails is still synchronized from the data that did resolve
  • People sync — Jenkins user accounts from GET /asynchPeople/api/json, mapped to Person assets with profile URL, associated project, and last-change timestamp
  • Configurable retry — Retry attempts on transient API failures driven by the maxRetries configuration property

Data retrieved from Jenkins​

Connector ObjectRequiredMaps to Data Model
JobYesCode Repository
PeopleYesPerson

Model relationships​

note

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