# Jenkins

> Jenkins: what the collector reads, how to connect it, its permissions, its certification by Atlantic Agentic Labs and its security posture.

Certified Certified by Atlantic Agentic Labs on 20 November 2026, against Jenkins Remote Access API (JSON); expires 20 May 2027.

Reads the jobs, folders and builds you name from a Jenkins controller (Jenkins or CloudBees CI), so engineering agents can answer from how the pipelines are set up and why builds failed.

## At a glance

| Collector                   | Jenkins, version `0.1.0`                                                                                                                                                  |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Reads                       | Jenkins project (also CloudBees CI): Jenkins controller (Remote Access JSON API) ([the vendor's documentation](https://www.jenkins.io/doc/book/using/remote-access-api/)) |
| Family                      | Engineering                                                                                                                                                               |
| Kind                        | Code                                                                                                                                                                      |
| Ways to connect             | Access token                                                                                                                                                              |
| Scopes                      | - Read: `Overall/Read`, `Job/Read`, `Job/ExtendedRead`                                                                                                                    |
| Read only                   | Yes                                                                                                                                                                       |
| Vendor's API can move money | No                                                                                                                                                                        |
| Personal data               | Content, Identity                                                                                                                                                         |
| Hosts it may contact        | Only the hosts on your deployment's allow-list (`*`: the host is the one you give it)                                                                                     |
| Vendor API versions         | Jenkins Remote Access API (JSON)                                                                                                                                          |
| Lowest engine version       | `0.47.1`                                                                                                                                                                  |

## What it reads

- One record per job and per folder: name, class, description, health, state, the last build, the names of its parameters and, where the user may read it, a summary of its configuration: source repositories (any credentials in the address removed), branches, the pipeline script path, shared library references (`@Library` in an inline script and the libraries defined on a folder), triggers and the kinds of build step. It is written again only when its text changes.
- One record per build: result, duration, start time, node, who or what started it, the revision built, the changes (commit, the author’s name, the first line of the message, the paths) and, where the build has a test report, its totals (total, failed, skipped).
- Builds are read by number: those newer than the last pull, and those that were still running. The first read takes up to `max_builds` (100 by default) of the newest builds of each job.
- A folder’s name in `jobs` stands for everything beneath it.
- Never read: console logs (they hold whatever the build printed, secrets included), the configuration file’s contents (it is summarised), build parameter values, committers’ e-mail addresses, credentials, nodes, users and the text of build steps.

## How to connect

1. In Jenkins, create or choose a user for the collector, give it Overall/Read, Job/Read and, so the configuration summary works, Job/ExtendedRead (the Extended Read plugin permission, which shows a configuration with its secrets masked), and nothing else. Open that user’s Security page and add an API token.
2. In LightHouse, open **Connectors**, choose **Jenkins**, give the controller’s address (`https://ci.example.com`, with the context path if there is one), the jobs or folders (or all jobs the user can see), a label and how often to read, and paste the user name and the token.
3. In code, give the deployment the user name as `JENKINS_USER` and the token as `JENKINS_TOKEN` from your secret store and add a `kind: jenkins` source card with `server_url`, `jobs` (or `all_jobs: true`), `label` and `requires`. Set `read_config: false` to skip the configuration summary and `builds: false` to read jobs only.

## Permissions

Overall/Read, Job/Read and, for the configuration summary, Job/ExtendedRead. The collector sends only `GET` requests to the controller address you give, with the user name and API token as HTTP Basic credentials, which is how Jenkins takes an API token; it never writes, and it sends no crumb because it never posts. The job list, job and build JSON, `config.xml` and test totals are all reads. Its read-only test proves it on every change.

## Limits

- You must name jobs or folders or set `all_jobs`; a whole controller is never the default.
- The controller address must be `https://`; requests to any other host are refused. Links are built from the address you give, never from the links in a response, so a controller whose own URL setting is wrong cannot send the collector elsewhere.
- A user without Extended Read gets the job record without the configuration summary; the build records are unaffected.
- Jenkins discards old builds by its own retention rules; that is not read as a deletion and the build stays in the index. A job or folder that is gone from the controller is withdrawn together with its builds.
- At most `max_builds` (1 to 1000) builds per job are listed on each pull.
- A shared library used from a Jenkinsfile in the repository, not from an inline script or a folder definition, is not seen, because the repository is not read.

## Data handling

- Job descriptions, build descriptions, commit messages, authors’ names, paths and the user who started a build are copied into the deployment’s corpus under the source’s `label`. They can hold personal data.
- Console logs are not read. The token stays in your secret store and is never written to logs or run notes; it is sent only to the controller host.
- Nothing leaves the deployment: only counts reach LightHouse.

## Troubleshooting

| What you see                                                     | What it means                                  | What to do                            |
| ---------------------------------------------------------------- | ---------------------------------------------- | ------------------------------------- |
| `server_url must be the https address of the Jenkins controller` | The address is missing or not https            | Give the https address                |
| `name the jobs or folders to sync, or set all_jobs`              | Neither `jobs` nor `all_jobs` is set           | Name them                             |
| `credential variable 'JENKINS_TOKEN' is not set`                 | The user name or token variable is empty       | Set both from your secret store       |
| `HTTP 401`                                                       | The user name or API token is wrong or revoked | Make a new API token                  |
| `HTTP 403` on the job list                                       | The user lacks Overall/Read or Job/Read        | Grant them                            |
| Jobs appear without a configuration summary                      | The user lacks Job/ExtendedRead                | Grant it, or set `read_config: false` |
| Read succeeded, 0 written                                        | Nothing changed since the cursor               | Nothing to do                         |

## Certification

Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See [How collectors are certified](/collectors/certification/).

| Date             | Collector | Engine   | Vendor API                       | Method                              | Expires        |
| ---------------- | --------- | -------- | -------------------------------- | ----------------------------------- | -------------- |
| 20 November 2026 | `0.1.0`   | `0.47.1` | Jenkins Remote Access API (JSON) | Vendor's sandbox (a real run)       | 20 May 2027    |
| 20 November 2026 | `0.1.0`   | `0.47.1` | Jenkins Remote Access API (JSON) | Fixtures only: built, not certified | Not applicable |

## Security posture

From the collector’s last scan on the default branch. What each line means, and what blocks a release: [Security posture](/collectors/security/).

| Last scanned               | 25 November 2026                                                                                                                                                                                                      |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Critical findings          | 0                                                                                                                                                                                                                     |
| High findings              | 0                                                                                                                                                                                                                     |
| Medium findings            | 0                                                                                                                                                                                                                     |
| Low findings               | 0                                                                                                                                                                                                                     |
| Info findings              | 0                                                                                                                                                                                                                     |
| Release blocked            | No                                                                                                                                                                                                                    |
| Network allow-list check   | Pass                                                                                                                                                                                                                  |
| Read-only behavioural test | Pass                                                                                                                                                                                                                  |
| SBOM (CycloneDX)           | Produced                                                                                                                                                                                                              |
| Dependency licences        | Pass                                                                                                                                                                                                                  |
| Scanners                   | bandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only |

Source: https://docs.atlanticagenticlabs.com/collectors/catalogue/jenkins/
