mirror of
https://github.com/ngthanhvu/kr-phim.git
synced 2026-08-10 17:47:47 +00:00
68 lines
1.9 KiB
Markdown
68 lines
1.9 KiB
Markdown
---
|
|||
|
|
name: jenkins-pipeline
|
||
|
|
display_name: Jenkins Pipeline
|
||
|
|
description: Write Jenkins declarative and scripted pipelines — stages, parallel execution, credentials, and shared libraries.
|
||
|
|
category: DevOps & Infrastructure
|
||
|
|
platforms: [claude-code, api]
|
||
|
|
version: 1.0.0
|
||
|
|
author: Claude Code
|
||
|
|
tags: [jenkins-pipeline]
|
||
|
|
---
|
||
|
|
|
||
|
|
# Jenkins Pipeline
|
||
|
|
|
||
|
|
## Overview
|
||
|
|
|
||
|
|
Write Jenkins declarative and scripted pipelines — stages, parallel execution, credentials, and shared libraries.
|
||
|
|
|
||
|
|
## When to Use This Skill
|
||
|
|
|
||
|
|
Use **Jenkins Pipeline** when you need to:
|
||
|
|
|
||
|
|
- Work with jenkins pipeline tasks in your project or workflow
|
||
|
|
- Automate jenkins pipeline operations at scale
|
||
|
|
- Generate production-quality jenkins pipeline output quickly
|
||
|
|
|
||
|
|
## Instructions
|
||
|
|
|
||
|
|
When this skill is active, Claude will:
|
||
|
|
|
||
|
|
1. Understand the full context of your jenkins pipeline request
|
||
|
|
2. Apply best practices and conventions for DevOps & Infrastructure
|
||
|
|
3. Produce clean, well-structured, production-ready output
|
||
|
|
4. Explain key decisions and offer alternatives where relevant
|
||
|
|
|
||
|
|
## Examples
|
||
|
|
|
||
|
|
### Example 1 — Basic Usage
|
||
|
|
|
||
|
|
**User:** Help me get started with jenkins pipeline.
|
||
|
|
|
||
|
|
**Claude:** I'll walk you through the essential steps for jenkins pipeline in your context...
|
||
|
|
|
||
|
|
### Example 2 — Advanced Usage
|
||
|
|
|
||
|
|
**User:** I need a production-ready jenkins pipeline setup with full error handling.
|
||
|
|
|
||
|
|
**Claude:** Here's a complete, production-hardened jenkins pipeline implementation...
|
||
|
|
|
||
|
|
## Guidelines
|
||
|
|
|
||
|
|
- Always validate inputs before processing
|
||
|
|
- Follow the conventions of the target platform or language
|
||
|
|
- Prefer explicit over implicit — clarity beats cleverness
|
||
|
|
- Include comments for non-obvious logic
|
||
|
|
- Suggest tests or validation steps where appropriate
|
||
|
|
|
||
|
|
## Dependencies
|
||
|
|
|
||
|
|
Required: jenkins, groovy
|
||
|
|
|
||
|
|
## Platforms
|
||
|
|
|
||
|
|
Available on: claude-code, api
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
*Part of the [claude-skills](https://github.com/inbharatai/claude-skills) collection — 183+ skills for Claude.*
|