
- A folder named
folder-1. - Inside
folder-1:project1— a Freestyle job that runs a simplesleepcommand (30 seconds).- A nested
folder-2that contains additional jobs (including a Pipeline).
folder-1:
| Job / Folder | Type | Behavior |
|---|---|---|
project1 | Freestyle | Runs sleep 30 (multiple triggered runs observed) |
folder-2 | Folder | Contains pipeline jobs (see below) |
pipeline-project-2 | Declarative Pipeline | Two stages with echo / sleep steps |
folder-2 to inspect the Pipeline job.


- Use the
-f(or--folder) argument to limit the scope to a single folder inside Jenkins. The folder name should match the name shown in the Jenkins UI.
Use
-f <folder-name> to restrict the audit/forecast to a single folder (e.g., folder-1). The folder name should match the name visible in Jenkins.folder-1:
- The generated report and job JSON files contain only the jobs present inside the specified folder (
folder-1in this example). - In this run the forecast report summarized:
- 2 pipeline projects
- 9 total job runs (4 runs of the Freestyle
project1and 5 runs of the Pipeline) - Metrics limited to those jobs: execution time, queue time, concurrency, and per-job run statistics
- Focused capacity planning: measure executor needs for a subset of jobs (e.g., a team folder).
- Migration assessments: analyze only the jobs you plan to migrate.
- Faster runs: smaller scope reduces runtime and output size compared to full-server audits.
- Jenkins: What is Jenkins?
- Jenkins Pipelines: Pipeline as Code
- GitHub CLI & actions-importer (example usage): refer to your project or extension documentation for
gh actions-importerusage and flags
jobs_*.json for custom metrics.