# CI/CD流水线排障

> 定位流水线失败的根因并提出可持续的修复方案。

**Kind:** skill · **Domain:** Engineering · **ID:** `cicd-pipeline-troubleshoot`

## 输入输出契约

| 输入 | 输出 |
| --- | --- |
| 流水线配置、失败日志、环境信息 | 根因分析、分步修复、预防建议 |

## 工作流程与操作说明


2. Identify the first failing step and its error.
4. Separate environment issues from code issues.
6. Reproduce the failure with a minimal command.
8. Apply the smallest safe fix.
10. Recommend a guard such as caching or a pinned version.



## 起手提示词

```text
这个CI构建在测试阶段失败，请根据日志找出原因。
```

## 常见问题

### 这是一项真实存在于 Clavue Bot 的能力吗？

是的。本页内容由产品内置目录生成，能力名称、输入输出与操作步骤都对应真实可用的场景、技能、MCP 工具或数字员工。

### 需要额外配置工具或连接器吗？

标注「开箱即用」的能力无需额外工具；标注「需连接工具」的能力会列出所需连接器，首次运行时按提示授权即可。

### 它会未经确认就发邮件或付款吗？

不会。发信、付款、提交表单等对外动作会停下来先请你确认，你同意后才会继续。

Canonical: https://ability.clavue.com/zh/skill/cicd-pipeline-troubleshoot/
