Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

jenkinsfile-validator

Skill by akin-ozer

Validates Jenkinsfiles and Jenkins shared libraries with local scripts for syntax, hardcoded credentials and best practices. Aimed at developers and DevOps engineers who maintain Jenkins pipelines.

  • Score 65
  • 345 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install jenkinsfile-validator

Built from the published package, never by AI.

git clone --depth 1 https://github.com/akin-ozer/cc-devops-skills /tmp/cc-devops-skills && mkdir -p ~/.claude/skills && cp -r /tmp/cc-devops-skills/devops-skills-plugin/skills/jenkinsfile-validator ~/.claude/skills/jenkinsfile-validator

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install jenkinsfile-validator in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Jenkinsfile Validator is an agent skill that checks Jenkins pipelines and shared libraries. It detects whether a Jenkinsfile is Declarative or Scripted, then runs syntax validation, a credential pattern scan and a best practices check. Shared library files under vars/ and src/ can be validated with a separate script. Results are reported as ERROR, WARNING and INFO findings with line references, and the main orchestrator returns exit codes for CI gating. For unknown plugin steps, the skill can look up plugin documentation locally, through Context7, or on the Jenkins plugin site. It is intended for people who write or review Jenkins pipelines and want checks before running them.

Written from the project's SKILL.md and checked against it.

What it can do

  • Pipeline type detectionDetects Declarative or Scripted pipelines and fails on unknown types unless overridden.
  • Syntax validationRuns validate_declarative.sh or validate_scripted.sh depending on the detected type.
  • Credential scanChecks for hardcoded credential patterns using common_validation.sh check_credentials.
  • Best practices checkRuns best_practices.sh and reports critical issues, improvements and a score.
  • Shared library validationValidates vars/*.groovy and src/**/*.groovy files individually or by directory.
  • Plugin step lookupLooks up unknown plugin steps in local references, Context7 or the Jenkins plugin site.

What you need

  • bash
  • grep, sed, awk, head, wc and find
  • jq (optional)

Try asking

  • Validate this Jenkinsfile for syntax and hardcoded credentials
  • Lint the vars and src folders of my shared library
  • Check my pipeline for best practice issues and explain the score

Good to know

  • Jenkinsfile type must be detected as Declarative or Scripted, or be set with an override flag.
  • Plugin docs lookup may be skipped in offline or air-gapped environments.
  • Scripts are run from the repository root with the documented skill path.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: devops-skills-plugin/skills/jenkinsfile-validator/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to jenkinsfile-validator

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

jenkinsfile-validator: common questions

What does the jenkinsfile-validator skill check?

According to the source, it checks Declarative and Scripted pipelines, shared library files, hardcoded credential patterns and best practices. It reports findings with line references.

How does the skill handle exit codes in CI?

The source says the main orchestrator returns 0 for pass, 1 for validation failure and 2 for usage or environment errors, and CI gating should rely on that exit code. Use --strict to make warnings fail.

What happens if the skill cannot look up plugin documentation?

The source says it runs all local validators and reports that plugin docs lookup was skipped due to environment constraints.

How do I install jenkinsfile-validator?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is jenkinsfile-validator free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is jenkinsfile-validator safe to use?

It scores 65 of 100. Grades: maintenance C, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to jenkinsfile-validator?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

jenkinsfile-validator Install

Add to stack

Loading.