skills/user/jenkins-crp-to-xlsx/SKILL.md
Convert Jenkins v25-crp_info_collect job output to Excel (.xlsx) format. Use when the user needs to extract theme information from Jenkins CRP (Code Review Platform) info collection jobs and convert it to a structured Excel file with columns for 主题名称, 主题地址, 仓库, 源码名及版本, 责任人. Works with job URLs like https://jenkinswh.uniontech.com/view/ISO-Builder/job/v25-repo-iso-work/view/repo/job/v25-crp_info_collect/
npx skillsauth add Zeno-sole/zeno-skills jenkins-crp-to-xlsxInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill converts Jenkins v25-crp_info_collect job output into a structured Excel file containing CRP (Code Review Platform) theme information.
The generated Excel file contains the following columns:
| Column | Description | |--------|-------------| | 主题名称 | Theme name/title from CRP | | 主题地址 | CRP detail and workflow URLs | | 仓库 | Aptly repository addresses (main/commercial) | | 源码名及版本 | Source package names and versions | | 责任人 | Theme owners/responsible persons |
Run the conversion script with a Jenkins job path:
python3 scripts/jenkins_crp_to_xlsx.py <job-path> [build-number] [output-path]
Parameters:
job-path: Jenkins job path (e.g., v25-repo-iso-work/v25-crp_info_collect)build-number: Build number (optional, defaults to latest)output-path: Output Excel file path (optional, auto-generated)Examples:
# Convert latest build
python3 scripts/jenkins_crp_to_xlsx.py v25-repo-iso-work/v25-crp_info_collect
# Convert specific build
python3 scripts/jenkins_crp_to_xlsx.py v25-repo-iso-work/v25-crp_info_collect 173
# Specify output path
python3 scripts/jenkins_crp_to_xlsx.py v25-repo-iso-work/v25-crp_info_collect 173 /path/to/output.xlsx
If you have the Jenkins log output as text, you can parse it manually:
from scripts.jenkins_crp_to_xlsx import parse_jenkins_output, create_excel
# Parse the Jenkins output text
themes = parse_jenkins_output(jenkins_log_text)
# Create Excel file
create_excel(themes, "output.xlsx")
Jenkins CLI (jk): Must be installed and authenticated
/tmp/jk (configurable)https://jenkinswh.uniontech.comPython Dependencies:
pip3 install openpyxl
For each theme in the Jenkins output, the following information is extracted:
The output Excel file includes:
Common issues and solutions:
| Issue | Solution |
|-------|----------|
| "jk command not found" | Ensure /tmp/jk exists or specify alternative path |
| "Failed to fetch Jenkins log" | Check Jenkins authentication and network connectivity |
| "No themes found" | Verify the Jenkins output contains valid theme information |
| Import errors | Install required Python packages: pip3 install openpyxl |
For a Jenkins job with 10 themes, the Excel file will contain:
Example theme summary:
{
"total_themes": 10,
"output_file": "/path/to/v25-crp_info_collect-173.xlsx",
"themes": [
{
"name": "【UOS V25】玲珑1.11.3提测",
"owner": "dengbo",
"source_count": 1
},
{
"name": "DDE-V25-20260227",
"owner": "lvpeilong,zhangkun2,...",
"source_count": 28
}
]
}
tools
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
data-ai
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
development
Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.