
Jenkinsfile Validator
Validates Jenkinsfiles and shared library code with pure bash and standard Unix tools, no Jenkins server required. Catches syntax errors in both declarative and scripted pipelines, scans for hardcoded credentials, and flags best practice violations like missing timeouts or unrestricted agent blocks. The layered approach is smart: it detects pipeline type automatically, runs syntax checks first, then security and maintainability scans. Exit codes are clean for CI gating, and there's a strict mode that fails on warnings. Most useful during local development or in pull request checks before pipelines hit actual Jenkins infrastructure. The offline-first design with optional plugin doc lookups is refreshingly practical for air-gapped environments.
- skills.sh installs
- 706
- GitHub stars
- 337
- last updated
- Aug 21, 2026
Install
$ npx -y skills add akin-ozer/cc-devops-skills --skill jenkinsfile-validator --agent claude-codeInstalls into .claude/skills of the current project.
Files
Jenkinsfile Validator Skill
Use this skill to validate Jenkins pipelines and shared libraries with local scripts first, then optionally enrich findings with plugin documentation.
Trigger Phrases
Use this skill when requests look like:
- "Validate this Jenkinsfile"
- "Check this pipeline for security issues"
- "Lint my Declarative/Scripted pipeline"
- "Why is this Jenkins pipeline failing syntax checks?"
- "Validate vars/.groovy or src/**/.groovy shared library files"
Scope
This skill validates:
- Declarative pipelines (
pipeline { ... }) - Scripted pipelines (
node { ... }and Groovy-style pipelines) - Shared library files (
vars/*.groovy,src/**/*.groovy) - Hardcoded credential patterns
- Pipeline best practices and maintainability signals
Prerequisites
Run commands from repository root unless noted.
Required tools
bashgrepsedawkheadwcfind(needed for shared-library directory scans)
Recommended tools
jq(optional; improves JSON-heavy troubleshooting workflows)
Sponsors
Details
- Repository
- github.com/akin-ozer/cc-devops-skills
- Categories
- DevOps & CI/CD, Code Review & Quality
- First seen
- Jun 3, 2026
More from akin-ozer/cc-devops-skills
All 31- Terragrunt Validator703
- K8s Yaml Generator694
- Azure Pipelines Generator692
- Github Actions Validator686
- Gitlab Ci Generator686
- Github Actions Generator684
- Terraform Validator681
- Azure Pipelines Validator680
- Terraform Generator680
- Helm Generator674
- Makefile Validator671
- Makefile Generator659
- Promql Generator656
- Promql Validator646
- Fluentbit Generator640
- Logql Generator640
- Fluentbit Validator637
- Loki Config Generator622
- Ansible Validator1.6K
- Terragrunt Generator1.2K
- Ansible Generator907
- K8s Debug887
- Jenkinsfile Generator862
- Dockerfile Validator786