https://github.com/lc/jenkinz
Retrieve the complete build history for every job ever created and executed on a given Jenkins instance.
https://github.com/lc/jenkinz
Last synced: 3 months ago
JSON representation
Retrieve the complete build history for every job ever created and executed on a given Jenkins instance.
- Host: GitHub
- URL: https://github.com/lc/jenkinz
- Owner: lc
- License: mit
- Created: 2019-06-24T15:00:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-25T15:02:50.000Z (about 1 year ago)
- Last Synced: 2025-08-15T07:33:45.607Z (10 months ago)
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 67
- Watchers: 3
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jenkinz
[](https://opensource.org/licenses/MIT)
`jenkinz` is a tool to retrieve every build for every job ever created and run on a given Jenkins instance.
## Usage:
`jenkinz -d https://[jenkins-instance] [options]`
### Flags:
| Flag | Description | Example |
|------|-------------|---------|
| `-d` | URL of Jenkins | `jenkinz -d https://jenkins.example.com` |
| `-creds` | Credentials for Jenkins instance (format user:apikey) | `jenkinz -d url -creds "admin:c129e5db6b5e3abdff6eb9b0008ad7f2"` |
| `-c` | Limit the number of workers that are spawned | `jenkinz -d url -c 200` |
| `-timeout` | Timeout for the tool in seconds (default 30) | `jenkinz -d url -timeout 10`|
#### Getting a Jenkins API Token
If anonymous read is disabled but you have credentials, you can generate an API Key by navigating to:
- `http://[jenkins]/user/username/configure`
- Under `API Token` click `Add New Token`
## Installation:
### Via `go get`
```
go get -u github.com/lc/jenkinz
```
### Via `git clone`
```
git clone git@github.com:lc/jenkinz
cd jenkinz && go build -o $GOPATH/bin/jenkinz main.go
```