Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

test-jenkins-pipeline-changes-in-pr-by-replaying

Skill by PingCAP-QE

Replays Jenkins pipeline changes from a pull request in PingCAP-QE/ci. It skips duplicate jobs across branches and keeps one PR comment updated with replay status. Intended for CI maintainers who test Jenkins changes before merging.

  • Score 52
  • 20 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install test-jenkins-pipeline-changes-in-pr-by-replaying

Built from the published package, never by AI.

git clone --depth 1 https://github.com/PingCAP-QE/ci /tmp/ci && mkdir -p ~/.claude/skills && cp -r /tmp/ci/.agents/skills/test-jenkins-pipeline-changes-in-pr-by-replaying ~/.claude/skills/test-jenkins-pipeline-changes-in-pr-by-r

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install test-jenkins-pipeline-changes-in-pr-by-replaying in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill replays Jenkins pipeline changes from a pull request in PingCAP-QE/ci. It finds changed pipeline scripts and pod YAML files in the PR diff, then groups them by logical job. Identical changes across branches are deduplicated, so only the newest branch candidate runs, with latest taking priority.

Each job's full name is resolved from the jobs DSL files, and the job is routed to the Jenkins master set by its Prow labels.master value. Replays run through .ci/replay-jenkins-build.sh with inline pod YAML enabled by default. The skill polls build status, retries failures up to three times, and keeps a single PR comment updated. It is intended for CI maintainers who need to test Jenkins changes before merging.

Written from the project's SKILL.md and checked against it.

What it can do

  • Detect changed CI filesAuto-detects changed pipeline scripts and pod YAML files from the current PR diff.
  • Deduplicate across branchesReplays only the newest branch candidate when the diffs for the same job match.
  • Resolve Jenkins job namesFinds full job names from jobs/ DSL files instead of inferring them from paths alone.
  • Replay jobsRuns .ci/replay-jenkins-build.sh for each selected candidate with inline pod YAML enabled.
  • Track build statusQueries each replay build URL and reports queued, building, success, or failure states.
  • Retry failuresClassifies failure logs and retries up to three times after the initial attempt.
  • Update PR commentPosts and patches one PR comment with a checklist of replay candidates and outcomes.

What you need

  • Jenkins credentials in JENKINS_MASTER_0_* and JENKINS_MASTER_1_* variables
  • GitHub CLI (gh) for PR lookup and comment updates
  • git with access to origin/main
  • ripgrep (rg), or the grep shim described in the source
  • curl for querying Jenkins build status

Try asking

  • Replay the Jenkins pipeline changes in this PR and update the PR comment.
  • Show which changed Jenkins jobs would be skipped as duplicates across branches.
  • Find the Jenkins job URL for pipelines/pingcap/tidb/latest/ghpr_build.

Good to know

  • Replay stops if a job's labels.master is missing or conflicting.
  • Retries are capped at three after the initial attempt.
  • Do not use --no-inline-pod-yaml when validating pod YAML changes.
  • Replay targets PingCAP-QE/ci job layouts described in the source.

Security check

B
  • Makes downloaded files executableIn .agents/skills/test-jenkins-pipeline-changes-in-pr-by-replaying/SKILL.md: chmod +x /tmp/

Checked automatically: .agents/skills/test-jenkins-pipeline-changes-in-pr-by-replaying/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to test-jenkins-pipeline-changes-in-pr-by-replaying

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

test-jenkins-pipeline-changes-in-pr-by-replaying: common questions

Does it replay every changed branch of a job?

No. If the diffs for the same logical job match across branches, only the newest branch candidate is replayed, with latest checked first.

How does it find the Jenkins job name?

It reads the jobs/ DSL files, matches scriptPath, and reads pipelineJob, instead of relying only on the pipeline path.

How many retries does it run?

It stops on success or after the initial run plus three retries, and records each attempt in the PR comment.

How do I install test-jenkins-pipeline-changes-in-pr-by-replaying?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is test-jenkins-pipeline-changes-in-pr-by-replaying free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is test-jenkins-pipeline-changes-in-pr-by-replaying safe to use?

It scores 52 of 100. Grades: maintenance A, licence A, quality C. Security check: grade B (makes downloaded files executable). Review the code before you install. How grades work.

What are alternatives to test-jenkins-pipeline-changes-in-pr-by-replaying?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

test-jenkins-pipeline-changes-in-pr-by-replaying Install

Add to stack

Loading.