jenkins-build

自动化触发 Jenkins 构建任务,支持师傅端和用户端项目打包。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "jenkins-build" with this command: npx skills add chengzongxin/jenkins-build

Jenkins Build

自动化触发 Jenkins 构建任务,支持师傅端和用户端项目打包。

功能

自动化触发 Jenkins 构建任务,支持师傅端和用户端项目打包。

触发条件

用户提到以下任一短语时激活:

  • "打个师傅包" / "师傅包" / "打师傅包"
  • "打个用户包" / "用户包" / "打用户包"
  • "触发构建" / "Jenkins 构建"

项目映射

项目Jenkins 任务名路径描述
师傅端worker/Users/chengzongxin/worker-rn师傅端热更包
用户端user/Users/chengzongxin/user用户端包

实现方式

首选:浏览器自动化

利用用户已登录的浏览器 session,通过 browser 工具点击 Jenkins 界面的"立即构建"按钮。

步骤:

  1. browser action=open 打开项目页面:http://localhost:8080/job/{任务名}/
  2. browser action=snapshot 获取页面元素
  3. 找到"立即构建"链接(aria ref 包含"立即构建"或"Build Now")
  4. browser action=act kind=click 触发构建
  5. 再次 snapshot 确认构建已触发,返回构建编号和状态

备选:API 方式(需配置)

如果浏览器不可用,可尝试 API 方式,但需要解决 CSRF crumb 问题。

输出

构建触发后,向用户反馈:

  • 构建编号
  • 当前状态(执行中/排队中)
  • 预计时间(如有)
  • Jenkins 页面链接

注意事项

  • Jenkins 地址:http://localhost:8080
  • 默认账号密码:admin/admin(如需要 API 方式)
  • 构建触发后无需等待完成,异步通知即可
  • 如构建失败,检查 Jenkins 服务状态和登录状态

扩展

未来可支持:

  • 查看构建日志
  • 获取构建产物下载链接
  • 构建失败自动通知
  • 支持更多项目(通过配置映射表)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated