multica-platform-jenkins

Jenkins read/write: trigger parameterized builds, poll status, and fetch console logs. A platform skill that uses shared domain account credentials, implemented in Python, and applicable to Windows and Linux.

Last repository push
GitHub Stars
299
Forks
40
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "multica-platform-jenkins" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d09f7546db8d9f94e734e2f8e1e05f1dea06f382437f4557f028ff5c0de83aa7. Verify the upstream source and version against https://github.com/it235/multica-best-practices before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Jenkins read/write: trigger parameterized builds, poll status, and fetch console logs. A platform skill that uses shared domain account credentials, implemented in Python, and applicable to Windows and Linux.

0 Downloads

Introduction source: third_party · it235 · 0.0.1 Reference

SkillPi interpretation

Tasks
Platform-layer skill (placeholder shell): read/write capability for CI/CD systems (Jenkins-class) — trigger parameterized builds, poll status, fetch console logs. Parameters are auto-discovered; never hardcode. Credentials injected via runtime env. Concrete CI URL / Job list in config.yaml, never in role prompts.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: multica-platform-jenkins
description: "Platform-layer skill (placeholder shell): read/write capability for CI/CD systems (Jenkins-class) — trigger parameterized builds, poll status, fetch console logs. Parameters are auto-discovered; never hardcode. Credentials injected via runtime env. Concrete CI URL / Job list in config.yaml, never in role prompts."
metadata:
  layer: platform
  replaces: any CI/CD system (Jenkins / GitLab CI / GitHub Actions / self-hosted pipeline / etc.)
  runtime:
    python: ">=3.10"

Platform · Jenkins (placeholder shell)

This is a platform-layer placeholder shell. The public multica-best-practices binds to no specific company's internal URLs or credentials. To onboard your own CI/CD system, only edit this skill's config.yaml and scripts/; all upstream orchestration skills stay untouched.

Purpose

CI/CD system read + write: trigger Jobs, poll builds, fetch consoleText, return build URLs.

Parameter auto-discovery: connect to the CI system API to read each Job's required parameters; Agents must not hardcode parameter names.

Default CI URL configured in config.yaml → cicd.base_url (placeholder: http://<your-cicd-host>).

Agent standard flow (required)

1. Resolve service (jobs-catalog / issue_service_map) + **deploy branch** (from the Issue source + affected ends, not feature; for linked Issues use the branch in the external system)
2. discover (required) — default copy from lastSuccessfulBuild, only override deploy branch
3. ready=false → fill missing params or BLOCKED ask human
4. trigger: multica-artifact-cicd-sync → trigger script

Parameter priority: --param > branch hint (branchName etc.) > last SUCCESS build params > CI default

Files (suggested structure)

multica-platform-jenkins/
├── SKILL.md
├── config.yaml
├── jobs-catalog.yaml     # per-env Job list (service → Job name)
├── .env.example
└── scripts/
    ├── trigger_env.py    # trigger by env + service
    ├── list_jobs.py      # list / query Jobs
    ├── cicd_cli.py       # low-level API
    └── lib/

Install deps (once)

pip install -r scripts/requirements.txt

List Jobs

python scripts/list_jobs.py --env dev
python scripts/list_jobs.py --env sit --service <service>

Discover parameters (live from CI, per Job)

python scripts/cicd_cli.py discover-params --env sit --service <service> --branch release/<ISSUE>-<slug> --json

Trigger build (auto-params by default)

python scripts/trigger_env.py --env sit --service <service> --branch release/<ISSUE>-<slug> --json
python scripts/trigger_env.py --env sit --service <service> --branch release/<ISSUE>-<slug> --param deployVersion=1.0.0_795 --json

Credentials

Variable Description
CICD_USER / CICD_PASSWORD CI account (runtime env, never in role prompts)
CICD_TOKEN optional token

Success criteria

  • script exit code 0
  • every build result=SUCCESS
  • return build URL list

Relationship to orchestration skill

Orchestration skill Calls
multica-artifact-cicd-sync trigger_cicd.py → internally calls this skill's Python scripts

Why it works

Parameter discovery: different projects have different parameter names, so the Agent discovers then triggers, avoiding hardcoding branchName. Job names live in jobs-catalog.yaml. A swappable platform layer is the core of "copy-paste-run".

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供 Jenkins CI/CD 系统的完整读写能力,包括触发带参构建、轮询状态、获取控制台日志,满足 DevOps 高频刚需场景
  • 支持参数自动发现机制,避免硬编码,提升通用性和可维护性
Trigger Precision70/100

Areas to improve

  • description写错位置 Reported severity: Minor

    触发描述仅在 skill_body 内部详细说明,frontmatter 中 description 为占位符 shell 描述,未完整覆盖实际功能

    Recommendation: 建议将核心功能描述(如 Jenkins 读写、触发构建等)补充到 frontmatter 的 description 字段中,提升触发精准度

Highlights

  • 功能描述清晰,覆盖多种使用场景(list jobs, discover params, trigger build)
Structure and Standards90/100

Highlights

  • 文档结构完整,包含 Purpose、Agent standard flow、Files、Install deps、Usage 示例等关键章节
  • 提供了详细的命令行使用示例和参数说明,便于用户快速上手
Execution Reliability90/100

Highlights

  • 凭据通过 runtime env 注入,避免硬编码,提升安全性
  • 脚本退出码和构建结果有明确的成功标准,便于自动化集成
Evidence Verifiability (mean of the first four)84/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 52
  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 3, 12, 75

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.