Creator · akin-ozer
Last updated · Sep 6, 2026
Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines.
Install targets
Codex install prompt
Install the "jenkinsfile-generator" agent skill from https://github.com/akin-ozer/cc-devops-skills/tree/main/devops-skills-plugin/skills/jenkinsfile-generator. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"akin-ozer-jenkinsfile-generator","task":"Install jenkinsfile-generator","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Testing and QA
I need my agent to test a web app, reproduce bugs, and verify fixes.
Agent fit
Claude Code + Browser agents + CLI
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add akin-ozer/cc-devops-skills --skill jenkinsfile-generator
Maintenance
active
1mo since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
306
65/100 Quality · 62/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
306 GitHub stars
Repo activity
306 stars, 34 forks
Maintenance
1mo since push
License
Apache-2.0
Install
npx skills add akin-ozer/cc-devops-skills --skill jenkinsfile-generator
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add akin-ozer/cc-devops-skills --skill jenkinsfile-generatorDo not use when
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20jenkinsfile-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20jenkinsfile-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/akin-ozer-jenkinsfile-generator/install
Agent should check
Copy prompt
Task: Use jenkinsfile-generator in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20jenkinsfile-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/akin-ozer-jenkinsfile-generator/install
Install command: npx skills add akin-ozer/cc-devops-skills --skill jenkinsfile-generator
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/akin-ozer-jenkinsfile-generator/install
LLM text format
/api/skills/akin-ozer-jenkinsfile-generator/install?format=text
Find alternatives
/api/skills/search?q=jenkinsfile-generator&limit=3
Agent prompt
Use jenkinsfile-generator for this task. Review https://www.openagentskill.com/api/skills/akin-ozer-jenkinsfile-generator/install, then install with: npx skills add akin-ozer/cc-devops-skills --skill jenkinsfile-generatorRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/akin-ozer-jenkinsfile-generator
LLM text
/api/registry/manifest/akin-ozer-jenkinsfile-generator?format=text
Install alias
/api/registry/install/akin-ozer-jenkinsfile-generator
Recommend
/api/registry/recommend?task=Use%20jenkinsfile-generator%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Use-case tags
Platforms
Claude Code, Browser agents
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Browser automation
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
INFO306 GitHub stars
Stars/forks activity
CHECK306 stars, 34 forks; issue activity unavailable in current metadata
Recent maintenance
PASS1mo since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Verify behavior
I need my agent to test a web app, reproduce bugs, and verify fixes.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: jenkinsfile-generator description: Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines. ---
# Jenkinsfile Generator Skill
Generate production-ready Jenkinsfiles following best practices. All generated files are validated using devops-skills:jenkinsfile-validator skill.
## Trigger Phrases - "Generate a CI pipeline for Maven/Gradle/npm" - "Create a Jenkins deployment pipeline with approvals" - "Build a Jenkinsfile with parallel test stages" - "Create a scripted pipeline with dynamic stage logic" - "Scaffold a Jenkins shared library" - "Generate a Jenkinsfile for Docker or Kubernetes agents"
## When to Use - Creating new Jenkinsfiles (declarative or scripted) - CI/CD pipelines, Docker/Kubernetes deployments - Parallel execution, matrix builds, parameterized pipelines - DevSecOps pipelines with security scanning - Shared library scaffolding
## Declarative vs Scripted Decision Tree 1. Choose **Declarative** by default when stage order and behavior are mostly static. 2. Choose **Scripted** when runtime-generated stages, complex loops, or dynamic control flow are required. 3. Choose **Shared Library scaffolding** when request is about reusable pipeline functions (`vars/`, `src/`, `resources/`). 4. If unsure, start Declarative and only switch to Scripted if requirements cannot be expressed cleanly.
## Template Map | Template | Path | Use When | |---|---|---| | Declarative basic | `assets/templates/declarative/basic.Jenkinsfile` | Standard CI/CD with predictable stages | | Declarative parallel example | `examples/declarative-parallel.Jenkinsfile` | Parallel test/build branches with fail-fast behavior | | Declarative kubernetes example | `examples/declarative-kubernetes.Jenkinsfile` | Kubernetes agent execution using pod templates | | Scripted basic | `assets/templates/scripted/basic.Jenkinsfile` | Complex conditional logic or generated stages | | Shared library scaffold | Generated by `scripts/generate_shared_library.py` | Reusable pipeline functions and organization-wide patterns |
## Quick Reference
```groovy // Minimal Declarative Pipeline pipeline { agent any stages { stage('Build') { steps { sh 'make' } } stage('Test') { steps { sh 'make test' } } } }
// Error-tolerant stage stage('Flaky Tests') { steps { catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE') { sh 'run-flaky-tests.sh' } } }
// Conditional deployment with approval stage('Deploy') { when { branch 'main'; beforeAgent true } input { message 'Deploy to production?' } steps { sh './deploy.sh' } } ```
| Option | Purpose | |--------|---------| | `timeout(time: 1, unit: 'HOURS')` | Prevent hung builds | | `buildDiscarder(logRotator(numToKeepStr: '10'))` | Manage disk space | | `disableConcurrentBuilds()` | Prevent race conditions | | `catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE')` | Continue on error |
## Core Capabilities
### 1. Declarative Pipelines (RECOMMENDED) **Process:** 1. **Read templates for structure reference:** - Read `assets/templates/declarative/basic.Jenkinsfile` to understand the standard structure - Templates show the expected sections: pipeline → agent → environment → options → parameters → stages → post - For complex requests, adapt the structure rather than copying verbatim 2. **Consult reference documentation:** - Read `references/best_practices.md` for performance, security, and reliability patterns - Read `references/common_plugins.md` for plugin-specific syntax 3. **Generate with required elements:** - Proper stages with descriptive names - Environment block with credentials binding (never hardcode secrets) - Options: timeout, buildDiscarder, timestamps, disableConcurrentBuilds - Post conditions: always (cleanup), success (artifacts), failure (notifications) - **Always add `failFast true` or `parallelsAlwaysFailFast()` for parallel blocks** - **Always include `fingerprint: true` when using `archiveArtifacts`** 4. **ALWAYS validate** using devops-skills:jenkinsfile-validator skill
### 2. Scripted Pipelines **When:** Complex conditional logic, dynamic generation, full Groovy control **Process:** 1. **Read templates for structure reference:** - Read `assets/templates/scripted/basic.Jenkinsfile` for node/stage patterns - Understand try-catch-finally structure for error handling 2. Implement try-catch-finally for error handling 3. **ALWAYS validate** using devops-skills:jenkinsfile-validator skill
### 3. Parallel/Matrix Pipelines Use `parallel {}` block or `matrix {}` with `axes {}` for multi-dimensional builds. - Default behavior is fail-fast for generated parallel pipelines (`parallelsAlwaysFailFast()` or stage-level `failFast true`).
### 4. Security Scanning (DevSecOps) Add SonarQube, OWASP Dependency-Check, Trivy stages with fail thresholds.
### 5. Shared Library Scaffolding ```bash python3 scripts/generate_shared_library.py --name my-library --package org.example ```
## Declarative Syntax Reference
### Agent Types ```groovy agent any // Any available agent agent { label 'linux && docker' } // Label-based agent { docker { image 'maven:3.9.11-eclipse-temurin-21' } } agent { kubernetes { yaml '...' } } // K8s pod template agent { kubernetes { yamlFile 'pod.yaml' } } // External YAML ```
### Environment & Credentials ```groovy environment { VERSION = '1.0.0' AWS_KEY = credentials('aws-key-id') // Creates _USR and _PSW vars } ```
### Options ```groovy options { buildDiscarder(logRotator(numToKeepStr: '10')) timeout(time: 1, unit: 'HOURS') disableConcurrentBuilds() timestamps() parallelsAlwaysFailFast() durabilityHint('PERFORMANCE_OPTIMIZED') // 2-6x faster for simple pipelines } ```
### Parameters ```groovy parameters { string(name: 'VERSION', defaultValue: '1.0.0') choice(name: 'ENV', choices: ['dev', 'staging', 'prod']) booleanParam(name: 'SKIP_TESTS', defaultValue: false) } ```
### When Conditions | Condition | Example | |-----------|---------| | `branch` | `branch 'main'` or `branch pattern: 'release/*', comparator: 'GLOB'` | | `tag` | `tag pattern: 'v*', comparator: 'GLOB'` | | `changeRequest` | `changeRequest target: 'main'` | | `changeset` | `changeset 'src/**/*.java'` | | `expression` | `expression { env.DEPLOY == 'true' }` | | `allOf/anyOf/not` | Combine conditions |
Add `beforeAgent true` to skip agent allocation if condition fails.
### Error Handling ```groovy catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') { sh '...' } warnError('msg') { sh '...' } // Mark UNSTABLE but continue unstable(message: 'Coverage low') // Explicit UNSTABLE error('Config missing') // Fail without stack trace ```
### Post Section ```groovy post { always { junit '**/target/*.xml'; cleanWs() } success { archiveArtifacts artifacts: '**/*.jar', fingerprint: true } failure { slackSend color: 'danger', message: 'Build failed' } fixed { echo 'Build fixed!' } } ``` **Order:** always → changed → fixed → regression → failure → success → unstable → cleanup
**NOTE:** Always use `fingerprint: true` with `archiveArtifacts` for build traceability and artifact tracking.
### Parallel & Matrix
**IMPORTANT:** Always ensure parallel blocks fail fast on first failure using one of these approaches:
**Option 1: Global (RECOMMENDED)** - Use `parallelsAlwaysFailFast()` in pipeline options: ```groovy options { parallelsAlwaysFailFast() // Applies to ALL parallel blocks in pipeline } ``` This is the preferred approach as it covers all parallel blocks automatically.
**Option 2: Per-block** - Use `failFast true` on individual parallel stages: ```groovy stage('Tests') { failFast true // Only affects this parallel block parallel { stage('Unit') { steps { sh 'npm test:unit' } } stage('E2E') { steps { sh 'npm test:e2e' } } } } ```
**NOTE:** When `parallelsAlwaysFailFast()` is set in options, explicit `failFast true` on individual parallel blocks is redundant.
```groovy stage('Matrix') { failFast true matrix { axes { axis { name 'PLATFORM'; values 'linux', 'windows' } axis { name 'BROWSER'; values 'chrome', 'firefox' } } excludes { exclude { axis { name 'PLATFORM'; values 'linux' }; axis { name 'BROWSER'; values 'safari' } } } stages { stage('Test') { steps { echo "Testing ${PLATFORM}/${BROWSER}" } } } } } ```
### Input (Manual Approval) ```groovy stage('Deploy') { input { message 'Deploy?'; ok 'Deploy'; submitter 'admin,ops' } steps { sh './deploy.sh' } } ``` **IMPORTANT:** Place `input` outside steps to avoid holding agents.
## Scripted Syntax Reference
```groovy node('agent-label') { try { stage('Build') { sh 'make build' } stage('Test') { sh 'make test' } } catch (Exception e) { currentBuild.result = 'FAILURE' throw e } finally { deleteDir() } }
// Parallel parallel( 'Unit': { node { sh 'npm test:unit' } }, 'E2E': { node { sh 'npm test:e2e' } } )
// Environment withEnv(['VERSION=1.0.0']) { sh 'echo $VERSION' } withCredentials([string(credentialsId: 'key', variable: 'KEY')]) { sh 'curl -H "Auth: $KEY" ...' } ```
### @NonCPS for Non-Serializable Operations ```groovy @NonCPS def parseJson(String json) { new groovy.json.JsonSlurper().parseText(json) } ``` **Rules:** No pipeline steps (`sh`, `echo`) inside @NonCPS. Use for JsonSlurper, iterators, regex Matchers.
## Docker & Kubernetes
### Docker Agent ```groovy agent { docker { image 'maven:3.9.11'; args '-v $HOME/.m2:/root/.m2'; reuseNode true } } ```
### Build & Push ```groovy def img = docker.build("myapp:${BUILD_NUMBER}") docker.withRegistry('https://registry.example.com', 'creds') { img.push(); img.push('latest') } ```
### Kubernetes Pod ```groovy agent { kubernetes { yaml ''' apiVersion: v1 kind: Pod spec: containers: - name: maven image: maven:3.9.11-eclipse-temurin-21 command: [sleep, 99d] ''' } } // Use: container('maven') { sh 'mvn package' } ```
## Shared Libraries
```groovy @Library('my-shared-library') _ // or dynamically: library 'my-library@1.0.0'
// vars/log.groovy def info(msg) { echo "INFO: ${msg}" }
// Usage log.info 'Starting build' ```
## Validation Workflow
**CRITICAL: ALWAYS validate using devops-skills:jenkinsfile-validator skill:**
1. Generate Jenkinsfile 2. Invoke `devops-skills:jenkinsfile-validator` skill 3. **Handle validation results by severity:** - **ERRORS:** MUST fix before presenting to user - these break the pipeline - **WARNINGS:** SHOULD fix - these indicate potential issues - **INFO/SUGGESTIONS:** Consider applying based on use case: - `failFast true` for parallel blocks → apply by default - Build triggers → ask user if they want automated builds - Other optimizations → apply if they improve the pipeline 4. Re-validate after fixes 5. Only present validated Jenkinsfiles to user
**Validation commands:** ```bash # Full validation (syntax + security + best practices) bash ../jenkinsfile-validator/scripts/validate_jenkinsfile.sh Jenkinsfile
# Syntax only (fastest) bash ../jenkinsfile-validator/scripts/validate_jenkinsfile.sh --syntax-only Jenkinsfile ```
## Generator Scripts
**When to use scripts vs manual generation:** - **Use scripts for:** Simple, standard pipelines with common patterns (basic CI, straightforward CD) - **Use manual generation for:** Complex pipelines with multiple features (parallel tests + security scanning + Docker + K8s deployments), custom logic, or non-standard requirements
### Script Arguments: Required vs Optional - `generate_declarative.py` - Required: `--output` - Optional: `--stages`, `--agent`, `--build-tool`, `--build-cmd`, `--test-cmd`, `--deploy-*`, `--notification-*`, `--archive-artifacts`, `--k8s-yaml` - Notes: - `--k8s
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for jenkinsfile-generator, ready for a manual X post.
jenkinsfile-generator: Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines. 306 stars https://www.openagentskill.com/skills/akin-ozer-jenkinsfile-generator?ref=x
Listing + install path for jenkinsfile-generator: https://www.openagentskill.com/skills/akin-ozer-jenkinsfile-generator?ref=x Install: npx skills add akin-ozer/cc-devops-skills --skill jenkinsfile-generator
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to akin-ozer but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/akin-ozer-jenkinsfile-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/akin-ozer-jenkinsfile-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/akin-ozer-jenkinsfile-generator/audit)
[](https://www.openagentskill.com/skills/akin-ozer-jenkinsfile-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)akin-ozer
@akin-ozer
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Do not auto-install
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsPermission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness