# 使用 Homebrew, apt, Nix 安装 jenkins-job-builder

查看 jenkins-job-builder 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:jenkins-job-builder
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jenkins-job-builder
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install jenkins-job-builder
```

  证据: Debian stable package indexes: jenkins-job-builder from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#jenkins-job-builder
```

  证据: nixpkgs package indexes: jenkins-job-builder from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## 软件包事实

- **软件包键:** brew:jenkins-job-builder
- **软件包管理器:** Homebrew
- **版本:** 6.5.0
- **来源摘要:** Configure Jenkins jobs with YAML files stored in Git
- **主页:** <https://docs.openstack.org/infra/jenkins-job-builder/>
- **最后更新:** 2026-05-25T00:00:08Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jenkins-jobs (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 6.5.0
## 项目历史与用法

Jenkins Job Builder is a Python tool that converts YAML or JSON job definitions into Jenkins job configuration. Its package-manager role is to put the `jenkins-jobs` executable on a developer or CI administration machine so Jenkins jobs can be generated and updated from version-controlled text.

### 项目历史

The project is documented with a 2012-2026 maintainer copyright range and has long been associated with the OpenStack/OpenDev infrastructure ecosystem. The OpenDev repository presents it as tools for making Jenkins jobs from templates and records the OpenDev migration patch in 2019.

The README says Jenkins Job Builder takes human-readable YAML or JSON descriptions of Jenkins jobs, uses them to configure Jenkins, and includes a flexible template system for creating many similar jobs.

### 采用历史

JJB became useful to infrastructure teams that wanted Jenkins jobs reviewed like code. Instead of treating the Jenkins web UI as the source of truth, teams could keep job definitions in Git, generate XML, test definitions locally, and upload changes through a repeatable CLI.

### 使用方式

The documentation describes YAML or JSON job definition files, directories of definitions, job templates, projects, macros, and defaults. The execution docs show `jenkins-jobs test` for generating XML locally and `jenkins-jobs update` for uploading job and view definitions to a configured Jenkins server.

### 为什么软件包爱好者会关心

JJB is a classic infrastructure-as-code package from the pre-Pipeline era of Jenkins administration. It matters to package nerds because it bridges human-editable job declarations, generated Jenkins XML, and distro-friendly Python packaging, preserving a workflow that predates many newer Jenkins configuration systems.

### 时间线

- 2012: early project files and licensing history appear in the repository.
- 2014: sample and reference-test material appears in the repository history.
- 2019: the project migrated into the OpenDev namespace.
- 2024: Read the Docs configuration was added to the repository.

### Related projects

- Jenkins is the target automation server whose jobs and views JJB configures.
- OpenDev and the former OpenStack infrastructure tooling are historically connected to JJB's repository and review workflow.
- python-jenkins and PyYAML are related implementation dependencies named by the README for non-setup.py installation.

### 来源

- <https://jenkins-job-builder.readthedocs.io/en/stable/>
- <https://jenkins-job-builder.readthedocs.io/en/stable/definition.html>
- <https://jenkins-job-builder.readthedocs.io/en/stable/execution.html>
- <https://opendev.org/jjb/jenkins-job-builder>


## 安全说明

没有找到 jenkins-job-builder 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/jenkins_jobs/jenkins_jobs.ini, <script directory>/jenkins_jobs.ini, /etc/jenkins_jobs/jenkins_jobs.ini

## Credential files

- Unix: ~/.config/jenkins_jobs/jenkins_jobs.ini, <script directory>/jenkins_jobs.ini, /etc/jenkins_jobs/jenkins_jobs.ini
## 其他软件包管理器记录

- Debian apt - jenkins-job-builder - 6.4.2-3: normalized package name match | Debian stable package indexes: jenkins-job-builder from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Configure Jenkins using YAML files - metapackage | https://opendev.org/jjb/jenkins-job-builder
- Debian apt - jenkins-job-builder-doc - 6.4.2-3: normalized package name match | Debian stable package indexes: jenkins-job-builder-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Configure Jenkins using YAML files - doc | https://opendev.org/jjb/jenkins-job-builder
- Debian apt - python3-jenkins-job-builder - 6.4.2-3: normalized package name match | Debian stable package indexes: python3-jenkins-job-builder from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Configure Jenkins using YAML files - Python 3.x | https://opendev.org/jjb/jenkins-job-builder
- Nix - jenkins-job-builder: normalized package name match | nixpkgs package indexes: jenkins-job-builder from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - jenkins-job-builder - 3.11.0-6: normalized package name match | Ubuntu 24.04 LTS package indexes: jenkins-job-builder from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Configure Jenkins using YAML files - metapackage | http://ci.openstack.org/jenkins-job-builder
- Ubuntu apt - jenkins-job-builder-doc - 3.11.0-6: normalized package name match | Ubuntu 24.04 LTS package indexes: jenkins-job-builder-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Configure Jenkins using YAML files - doc | http://ci.openstack.org/jenkins-job-builder
- Ubuntu apt - python3-jenkins-job-builder - 3.11.0-6: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-jenkins-job-builder from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Configure Jenkins using YAML files - Python 3.x | http://ci.openstack.org/jenkins-job-builder


## Combined YAML source

View the package source record on GitHub. [combined/jenkins-job-builder.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jenkins-job-builder.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
