jenkins

Automate Jenkins CI/CD pipeline changes and deployment coordination.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/HTRTan/paperclip-skills --skill jenkins-htrtan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jenkins
Source: https://github.com/HTRTan/paperclip-skills/tree/main/skills/jenkins
Command: npx skills add https://github.com/HTRTan/paperclip-skills --skill jenkins-htrtan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

用於 CI/CD Pipeline 的變更與部署協調,當需要編寫、修改、審查 Jenkins Pipeline(Declarative/Scripted)、配置多分支流水線、處理構建觸發、整合部署任務或排查 Jenkins 相關問題時使用此技能。

Core Features & Use Cases

  • 顯式 Declarative Pipeline 優先:除非有複雜動態邏輯或共享庫需求,否則 Declarative 更易讀、更安全。
  • 配置環境變量、憑證、參數化構建,並支持多分支與共享庫結構設計。
  • 與 Jenkins API 交互(觸發構建、查詢狀態)以及常見排錯與最佳實踐。

Quick Start

根據用戶需求輸出一個 Jenkins Declarative Pipeline 骨架,包含基本的 stages 與 post 區塊。

Frequently Asked Questions about jenkins

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a Jenkins Declarative Pipeline with stages and post actions?

A Jenkins Declarative Pipeline uses explicit stage definitions and post blocks for structured CI/CD execution. You define an agent, configure stages for build steps, and add post actions for cleanup or notifications.

What is the best way to handle credentials in a Jenkinsfile?

Handling credentials in a Jenkinsfile requires secure credential integration within the pipeline environment. You use Declarative syntax to inject credentials as environment variables, ensuring secure access without exposing secrets in the code.

Does Jenkins Declarative Pipeline support parameterized builds and multi-branch workflows?

Jenkins Declarative Pipeline supports parameterized builds and multi-branch workflows natively. You define parameters in the pipeline block and configure multi-branch pipeline scanning to automatically discover and build branches.

Can I interact with the Jenkins API to trigger builds and query pipeline status?

Interacting with the Jenkins API allows you to trigger remote builds and query pipeline status programmatically. You send HTTP requests to Jenkins API endpoints using authentication tokens to automate deployment coordination.

When should I use Scripted Pipeline instead of Declarative Pipeline in Jenkins?

Scripted Pipeline is necessary for complex dynamic logic or shared library requirements that Declarative cannot handle. Declarative Pipeline is preferred for standard CI/CD tasks due to better readability and built-in safety features.

How do I configure timeouts and retries in a Jenkins pipeline?

Configuring timeouts and retries in a Jenkins pipeline uses built-in Declarative options to prevent hanging builds. You add options like timeout and retry inside the pipeline or stage block to automatically handle transient failures.