Task Router Skill
Task Router
Jenkins 构建助手
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install gitboy123/jenkins-fixInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
查看所有项目:
Jenkins 项目列表
或
列出所有 Jenkins job
触发构建(默认分支):
构建 <项目名>
触发构建(指定分支):
构建 <项目名> <分支名>
或
构建 <项目名> 分支=<分支名>
查看构建状态:
<项目名> 构建状态
方式一:环境变量(推荐,安全)
在运行脚本前设置以下环境变量:
# 方式 A: 使用 API Token(推荐)
export JENKINS_URL="http://jks.huimei-inc.com"
export JENKINS_USERNAME="jiaofu"
export JENKINS_API_TOKEN="your_api_token_here"
# 方式 B: 使用用户名密码(API Token 过期时回退)
export JENKINS_URL="http://jks.huimei-inc.com"
export JENKINS_USERNAME="jiaofu"
export JENKINS_PASSWORD="your_password_here"
方式二:Shell 配置文件(永久生效)
将上述环境变量添加到 ~/.zshrc 或 ~/.bash_profile:
# Jenkins 构建助手认证信息
export JENKINS_URL="http://jks.huimei-inc.com"
export JENKINS_USERNAME="jiaofu"
export JENKINS_API_TOKEN="your_api_token_here"
然后执行:
source ~/.zshrc # 或 source ~/.bash_profile
⚠️ 安全提示:切勿将密码、API Token 提交到版本控制系统(如 git)。使用
.env文件或系统环境变量存储敏感信息。
返回 Jenkins 中所有可用的 job 名称列表。
用户指定项目名称后自动触发构建,支持:
构建完成后返回:
用户:Jenkins 项目列表
助手:可用项目:
- hospital__go_crf_service
- hospital__java_omc-business
...
用户:构建 hospital__go_crf_service cloud_251230_...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# Jenkins 构建助手 ## 快速使用 **查看所有项目:** ``` Jenkins 项目列表 ``` 或 ``` 列出所有 Jenkins job ``` **触发构建(默认分支):** ``` 构建 <项目名> ``` **触发构建(指定分支):** ``` 构建 <项目名> <分支名> ``` 或 ``` 构建 <项目名> 分支=<分支名> ``` **查看构建状态:** ``` <项目名> 构建状态 ``` ## 认证配置(安全) ### 配置方式(二选一) **方式一:环境变量(推荐,安全)** 在运行脚本前设置以下环境变量: ```bash # 方式 A: 使用 API Token(推荐) export JENKINS_URL="http://jks.huimei-inc.com" export JENKINS_USERNAME="jiaofu" export JENKINS_API_TOKEN="your_api_token_here" # 方式 B: 使用用户名密码(API Token 过期时回退) export JENKINS_URL="http://jks.huimei-inc.com" export JENKINS_USERNAME="jiaofu" export JENKINS_PASSWORD="your_password_here" ``` **方式二:Shell 配置文件(永久生效)** 将上述环境变量添加到 `~/.zshrc` 或 `~/.bash_profile`: ```bash # Jenkins 构建助手认证信息 export JENKINS_URL="http://jks.huimei-inc.com" export JENKINS_USERNAME="jiaofu" export JENKINS_API_TOKEN="your_api_token_here" ``` 然后执行: ```bash source ~/.zshrc # 或 source ~/.bash_profile ``` ### 获取 Jenkins API Token 1. 登录 Jenkins: http://jks.huimei-inc.com 2. 点击右上角用户名 → "Configure"(配置) 3. 在 "API Token" 区域点击 "Add new Token" 4. 复制生成的 Token 到环境变量 ### 认证优先级 1. **优先使用 API Token**(更安全,可随时撤销) 2. **回退到用户名密码**(仅当 API Token 失效时) > **⚠️ 安全提示**:切勿将密码、API Token 提交到版本控制系统(如 git)。使用 `.env` 文件或系统环境变量存储敏感信息。 ## 核心功能 ### 1. 列出所有项目 返回 Jenkins 中所有可用的 job 名称列表。 ### 2. 触发构建 用户指定项目名称后自动触发构建,支持: - 精确项目名匹配 - 模糊匹配(包含关键词的项目) - **指定构建分支**(支持多种格式) ### 3. 构建结果 构建完成后返回: - ✅ 成功:程序包下载地址(OSS 链接) - ❌ 失败:失败原因和异常信息 ## 使用示例 ``` 用户:Jenkins 项目列表 助手:可用项目: - hospital__go_crf_service - hospital__java_omc-business ... 用户:构建 hospital__go_crf_service cloud_251230_...
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.