it235/multica-best-practices/multica-artifact-cicd-sync

Claude Code and agent skill by it235/multica-best-practices

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

CI/CD 产物编排:G2 PASS 且代码已 push 后调用 multica-platform-jenkins 触发 dev/sit 构建,回写 JIRA 并回传部署 URL。Python 实现,Windows / Linux 通用。

Install

npx vskill@latest install it235/multica-best-practices/multica-artifact-cicd-sync

SKILL.md

Artifact · CI/CD Sync(编排)

Purpose

G2 PASS + push 后,调用 multica-platform-jenkins 触发 dev/sit Job。参数由 Jenkins API 自动发现,编排层不硬编码参数名。

Platform 协作

Platform skill本 skill 用途
multica-platform-jenkinstrigger_env.py / trigger_cicd.py 触发与轮询
multica-platform-jira可选读 Issue;回写部署链接

凭据:JIRA_USERNAME / JIRA_PASSWORD(与 JIRA 共用域账户)。CLI 细节见 platform-jenkins SKILL。

Agent 流程

text
1. discover-only(推荐先跑,检查 missing):
python scripts/trigger_cicd.py --issue PROJ-1853 --env sit --branch release/PROJ-1853-聚合页 --discover-only --json
2. 触发(**只用 Issue deploy branch,不用 feature 分支**):
python scripts/trigger_cicd.py --issue PROJ-1853 --env sit --branch release/PROJ-1853-聚合页 --json
3. missing 参数:追加 --param name=value(trigger_cicd 需扩展传参时走 trigger_env --param)

参数解析策略

默认(use_last_success=true):

  1. 读取 lastSuccessfulBuild 的全部构建参数
  2. 仅将分支类参数(branchName / branch / gitBranch …)替换为 --branch
  3. --param 可覆盖任意项;--no-last-success 关闭此行为

Workflow A:dev 部署

bash
python scripts/trigger_cicd.py \
--issue PROJ-1853 \
--env dev \
--service acme \
--branch release/PROJ-1853-聚合页 \
--json

Workflow B:sit 部署(G2.5 → Tester T3)

bash
python scripts/trigger_cicd.py \
--issue PROJ-1853 \
--env sit \
--branch release/PROJ-1853-聚合页 \
--json

acme / MSD / ERP / IAM 等前缀已在 config.yaml → issue_service_map 配置,可省略 --service。

Workflow C:多服务

bash
python scripts/trigger_cicd.py --env sit --service mes2,mes-ui-v2 --branch release/MSD-26092-xxx --json

用法(角色侧)

text
G2 PASS 且代码已 push 后,用 multica-artifact-cicd-sync 触发 Jenkins 并回传部署链接。

为什么有效

编排层只依赖 Python;Issue 前缀自动映射到 jobs-catalog.yaml 中的 logical service。

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/it235/multica-best-practices/multica-artifact-cicd-sync/badge)](https://verified-skill.com/skills/it235/multica-best-practices/multica-artifact-cicd-sync)

Something wrong with this skill or its page? Tell us.