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

Настройка Jenkins Pipeline для Gradle с разделением сборки и тестов

Skill by THUIR

Writes or edits a Jenkinsfile for Gradle-based Java projects that separates the Build and Test stages. It uses -x test to avoid running tests twice and supports dynamic branch checkout for pull requests.

  • Score 53
  • 96 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install Настройка Jenkins Pipeline для Gradle с разделением сборки и тестов

Built from the published package, never by AI.

git clone --depth 1 https://github.com/THUIR/MemoryBench /tmp/MemoryBench && mkdir -p ~/.claude/skills && cp -r /tmp/MemoryBench/baselines/AutoSkill/SkillBank/ConvSkill/Russian/настройка-jenkins-pipeline-для-gradle-с-разделением-сборки-и-тес ~/.claude/skills/jenkins-pipeline-gradle

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

Step-by-step: install Настройка Jenkins Pipeline для Gradle с разделением сборки и тестов in Claude Code

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

About

This skill writes or edits a Jenkinsfile for a Java project built with Gradle, such as a set of microservices. It splits the pipeline into separate Build and Test stages. The Build stage runs ./gradlew clean build -x test, so tests are skipped there and do not run twice. The Test stage then runs ./gradlew test.

The skill also covers dynamic branch checkout using env.BRANCH_NAME, with the Elvis operator ?: giving a default value when the variable is not set. For private repositories such as Bitbucket, it adds a credentialsId to the git step. Answers include Groovy code examples and an explanation of why the -x test flag is used. It is aimed at developers setting up Jenkins CI for Gradle-based Java projects, especially for pull request builds.

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

What it can do

  • Separate build and test stagesSplits the pipeline into distinct Build and Test stages.
  • Skip tests during buildUses ./gradlew clean build -x test in the Build stage to avoid running tests twice.
  • Run tests in a Test stageRuns ./gradlew test in its own Test stage.
  • Dynamic branch checkoutUses env.BRANCH_NAME with the Elvis operator ?: for a default branch value.
  • Private repository credentialsAdds a credentialsId parameter to the git step for private repositories like Bitbucket.

What you need

  • Jenkins
  • Gradle
  • Java project

Try asking

  • Create a Jenkinsfile that separates Gradle build and test stages
  • Add dynamic branch checkout with a default value to my Jenkins pipeline
  • Add credentialsId to the git step for a private Bitbucket repo

Good to know

  • Written for Java projects that use Gradle and Jenkins.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: baselines/AutoSkill/SkillBank/ConvSkill/Russian/настройка-jenkins-pipeline-для-gradle-с-разделением-сборки-и-тес/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Настройка Jenkins Pipeline для Gradle с разделением сборки и тестов

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

Настройка Jenkins Pipeline для Gradle с разделением сборки и тестов: common questions

Why use -x test in the Gradle build stage?

The source says the -x test flag excludes tests from the Build stage, which prevents them from running a second time. Tests run separately in the Test stage.

Does this skill support pull request builds?

Yes. The source says it supports dynamic branch selection for PRs, using env.BRANCH_NAME with a default value.

What language are the pipeline examples in?

The source asks for code examples in Groovy, which is the language used in Jenkinsfiles.

How do I install Настройка Jenkins Pipeline для Gradle с разделением сборки и тестов?

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

Is Настройка Jenkins Pipeline для Gradle с разделением сборки и тестов free?

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

Is Настройка Jenkins Pipeline для Gradle с разделением сборки и тестов safe to use?

It scores 53 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Настройка Jenkins Pipeline для Gradle с разделением сборки и тестов?

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

Настройка Jenkins Pipeline для Gradle с разделением сборки и тестов Install

Add to stack

Loading.