dataops-jenkins-modernization

Migrate Jenkins Freestyle jobs to Declarative Pipeline with Kubernetes agents.

14|1|Updated May 5, 2026
One-click install
npx skills add https://github.com/ivanshamaev/de-agent-skills --skill dataops-jenkins-modernization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dataops-jenkins-modernization
Source: https://github.com/ivanshamaev/de-agent-skills/tree/main/group_skills/infra_dataops_group_skills/dataops_jenkins_modernization
Command: npx skills add https://github.com/ivanshamaev/de-agent-skills --skill dataops-jenkins-modernization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Freestyle Jenkins jobs and ad-hoc shell steps create hard-to-review, non-reproducible DataOps workflows with weak secret handling and slow scalability.

Core Features & Use Cases

  • Freestyle to Declarative Pipeline migration: standardize pipeline structure for consistent CI/CD behavior and easier maintenance.
  • Shared Libraries & pipeline-as-code: extract reusable Groovy logic into vars/ and src/ to reduce duplication and improve change management.
  • Kubernetes agent modernization: run builds on ephemeral Kubernetes pods to remove static build slaves and improve isolation.
  • Safe credential management: use withCredentials patterns to prevent plaintext secrets in Jenkinsfiles.
  • Parallel stages and artifact handling: run tests concurrently and preserve required outputs like dbt/target/manifest.json.

Quick Start

Ask the AI to generate a Jenkins Declarative Pipeline that migrates a legacy Freestyle job to Kubernetes-based agents, uses shared libraries for dbt and notifications, and manages credentials with withCredentials while including lint, test, build (Kaniko), and deployment stages.

Frequently Asked Questions about dataops-jenkins-modernization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Jenkins Freestyle jobs to Declarative Pipeline?

To migrate Jenkins Freestyle jobs to Declarative Pipeline, you standardize the pipeline structure for consistent CI/CD behavior and easier maintenance. This replaces hard-to-review shell steps with reproducible pipeline-as-code that enforces best practices.

How do I use Kubernetes ephemeral agents in Jenkins pipelines?

Using Kubernetes ephemeral agents in Jenkins pipelines removes static build slaves to improve isolation and scalability. You configure your Declarative Pipeline to run builds on temporary Kubernetes pods, ensuring clean environments for every execution.

How does withCredentials work for secure secret handling in Jenkinsfiles?

The withCredentials pattern in Jenkinsfiles secures secret handling by binding credentials from the Jenkins credential store to environment variables or files. This prevents plaintext secrets from appearing in your Declarative Pipeline code.

Can I use shared libraries for dbt and notifications in Jenkins?

Yes, you can use Jenkins shared libraries for dbt and notifications by extracting reusable Groovy logic into `vars/` and `src/` directories. This reduces pipeline duplication and improves change management across your DataOps workflows.

What is the best way to run parallel tests and preserve artifacts in Jenkins?

The best way to run parallel tests in Jenkins is using Declarative Pipeline stages that execute concurrently, while explicitly preserving required outputs like `dbt/target/manifest.json`. This ensures parallel validation runs without losing essential artifacts.

Can I migrate Jenkins pipelines to GitHub Actions with equivalent controls?

Yes, you can migrate Jenkins pipelines to GitHub Actions using equivalent concepts like concurrency controls and post-failure steps. This optional migration guidance helps transition your DataOps workflows while maintaining safe CI/CD practices.