This article outlines 30 best practices for Jenkins declarative pipelines, organized into diagnosis, structure, credentials, deployment, maintenance, and rollback, with concrete commands and code examples to prevent frequent failures.
The article walks through the author’s end‑to‑end experiment that replaces fragmented Jenkins, Prometheus, and Grafana workflows with a natural‑language interface powered by a DeepSeek large language model, a Model Context Protocol (MCP) bridge, and a Streamlit‑based DevOps toolchain, showing the architecture, code snippets, and practical lessons learned.
This guide explains why declarative Jenkins pipelines fail—due to environment drift, workspace leftovers, capacity limits, credential exposure, uncontrolled concurrency, and lack of observability—and provides a step‑by‑step diagnostic workflow and ten concrete practices to harden Jenkinsfiles, enforce timeouts, manage agents, handle credentials, archive artifacts, and safely release and roll back applications.
This guide walks through configuring a local Docker/Compose environment that provides accessible Harbor, GitLab (with a shared Runner), and Jenkins, demonstrates a push/pull test on Harbor, runs a minimal GitLab CI pipeline, and validates a simple Jenkins pipeline, while covering prerequisites, host configuration, installation steps, verification, troubleshooting, and cleanup.
This article explains the fundamental concepts of CI/CD, clarifies the distinction between Continuous Integration, Continuous Delivery and Continuous Deployment, describes pipeline components such as stages and jobs, outlines common triggers, artifacts, caches and secrets, and shows how tools like GitLab, Jenkins and Harbor fit together in a complete delivery workflow.
This article provides a comprehensive, hands‑on tutorial on Jenkins pipelines, covering the two syntax styles (Declarative and Scripted), pipeline structure, agents, stages, steps, post actions, parameters, triggers, environment variables, credentials, and practical Jenkinsfile examples for Kubernetes, Docker, and more.
This article compares Jenkins and GitLab CI/CD across popularity, core features, plugin ecosystems, scalability, community support, and pros‑and‑cons, providing data‑driven insights and practical guidance to help you choose the most suitable CI/CD platform for your projects.
This tutorial covers Jenkins distributed build theory, agent concepts, connection methods, and step-by-step Docker Compose setup for Inbound Agents, including verification, troubleshooting, and three practical build approaches: Freestyle, Pipeline, and Shared Library.
This tutorial demonstrates how to replace Jenkins polling with GitLab Webhook event-driven triggers across Freestyle, Pipeline, and Shared Library job types, covering docker-compose networking, secret token authentication, and troubleshooting common 403 and invalid URL errors.
This tutorial demonstrates three methods to enforce SonarQube quality gates in Jenkins pipelines—freestyle job chaining, Pipeline waitForQualityGate step, and shared library encapsulation—so deployments only proceed when code meets coverage, duplication, and severity thresholds.
This tutorial covers the theory and three practical methods for triggering SonarQube code scans from Jenkins — Freestyle jobs, Pipeline scripts, and Shared Libraries — using a Maven project example in a Docker Compose environment with detailed configuration steps.
This guide walks you through constructing a full‑stack, enterprise‑level DevOps pipeline—from environment preparation and tool installation to Jenkins pipeline scripting, Kubernetes deployment, monitoring, security hardening, and cost optimization—providing complete scripts and step‑by‑step instructions to achieve automated, reliable releases within a week.
This guide lists frequent Jenkins problems such as missing libXrender.so.1 and SSH transferring zero files, explains why they occur, and provides exact yum commands, path-adjustment tips, and shell-parameter checks to resolve them.
This guide walks through installing Node plugins in Jenkins, configuring a NodeJS tool, creating a freestyle project, discarding old builds, setting up Git source, defining the build environment, running Yarn commands to compile the front‑end, and deploying the artifacts via SSH with a custom script.
This guide shows how to download the Jenkins WAR package, start it with nohup java -jar, resolve common errors, install required Linux fonts and Xvfb, and configure global tools such as Maven, JDK, and Git for a fully functional CI server.
The latest update to the Explain Error Plugin adds optional language selection for error explanations and enables the function to return its output, allowing Jenkins pipelines to receive AI‑generated explanations in the desired language and integrate them into automated workflows.
This guide walks through building a Kubernetes‑centric CI/CD system—covering high‑frequency releases, multi‑environment isolation, automated rollback, Jenkins pipeline examples, Harbor image registry setup, Argo CD GitOps workflows, blue‑green and canary deployments, configuration security, observability, and practical rollout recommendations for teams at any maturity level.
This article details a complete, cloud‑native CI/CD solution for Kubernetes that supports over 500 services, multiple languages, and hundreds of daily deployments, covering environment analysis, tool selection, architecture design, standards, implementation steps for CI and CD, and practical code snippets.
This article presents a fully automated, zero‑downtime deployment solution that integrates Jenkins pipelines with a set of shell scripts to handle code checkout, image building, seamless container switching, health checks, rollback, disk monitoring, and resource cleanup, providing a reliable end‑to‑end workflow for fast and stable releases.
This article walks readers through ZAP’s architecture, dual passive/active scanning engines, headless operation, Python automation, CI/CD integration with Jenkins and Docker, advanced scripting with Zest and custom plugins, and best‑practice recommendations for building an enterprise‑grade automated security testing pipeline.
This tutorial walks PHP developers through installing Jenkins, creating a freestyle job, configuring source control, setting environment variables, writing a shell build script, defining post‑build actions, and running the pipeline to achieve automated packaging and deployment.
This guide walks through setting up a three‑server environment (GitLab, Jenkins, test server), creating a GitLab project, configuring a Java Spring Boot application in IntelliJ, and using Jenkins with Maven, SSH Publisher, and custom pre/post steps to automatically build, package, and deploy a JAR file.
This article walks through real‑world CI/CD automation, showing how enterprises replace slow, error‑prone manual releases with fast, repeatable pipelines using Jenkins, GitLab CI, GitHub Actions, Kubernetes, Terraform, and feature‑toggle strategies, delivering measurable improvements in speed, quality, and reliability.
This article provides a comprehensive, step‑by‑step tutorial on Jenkins pipelines, covering the differences between declarative and scripted syntax, detailed explanations of agents, stages, steps, post actions, parameters, triggers, conditional execution, parallel builds, environment variables, and credential handling, with full code examples for each feature.
This step‑by‑step guide shows how to set up a three‑server environment with GitLab, Jenkins, and a test machine, configure Git repositories, create a Spring Boot project in IntelliJ, install Maven and SSH Publisher plugins in Jenkins, and automate building, packaging, and deploying a JAR file via SSH while handling cleanup and port conflicts.
jenkinsfilelint is a Python‑based command‑line tool that validates Jenkinsfile syntax via the Jenkins API, integrates seamlessly with pre‑commit hooks, offers flexible configuration and smart filtering, and provides step‑by‑step installation and usage instructions to prevent build failures caused by pipeline errors.
This step‑by‑step guide explains why you might need a custom Jenkins plugin, walks you through setting up Java 21 and Maven, generating a plugin project with the Jenkins archetype, building and locally testing it, and finally publishing it to the Jenkins Marketplace with best‑practice tips for security, CI, versioning, and community engagement.
Learn step‑by‑step how to set up a basic CI/CD workflow using Jenkins, Maven, and Git on three servers—GitLab for source control, Jenkins for building a Spring Boot JAR, and a test server for deployment—covering prerequisites, environment setup, Jenkins configuration, and post‑deployment scripts.
This step‑by‑step guide shows how to set up a three‑server environment with GitLab, Jenkins, and a test machine, configure Maven and SSH Publisher plugins, create a Spring Boot project, and automate code push, build, deployment, and cleanup using Jenkins pipelines and shell scripts.
This step‑by‑step guide shows how to set up a three‑server environment with GitLab, Jenkins, and a test machine, create a GitLab project and token, configure Maven and Jenkins, and automate building, deploying, and running a Spring Boot JAR using SSH and cleanup scripts.
This guide walks you through setting up a basic CI/CD workflow using Jenkins, Maven, and Git on three servers—GitLab, Jenkins, and a test machine—covering prerequisites, project creation, pipeline configuration, Maven builds, SSH publishing, and cleanup scripts to achieve automated deployment.
This guide walks you through the theory, architecture, and step‑by‑step deployment of a production‑grade CI/CD pipeline that combines Kubernetes, Jenkins, and Harbor, providing concrete Helm commands, YAML manifests, and a Jenkinsfile to automate code‑to‑image‑to‑deployment workflows.
This comprehensive guide walks you through Jenkins' history, installation, configuration, plugin management, user permissions, parameterized builds, pipeline scripting, and email notifications, providing step‑by‑step commands, code snippets, and troubleshooting tips for setting up a robust CI/CD environment on Linux.
This article walks through setting up three servers (GitLab, Jenkins, and a test machine), creating a GitLab project and token, configuring Maven and Jenkins plugins, defining Git, branch, and Maven settings, and implementing pre‑ and post‑steps—including a cleanup script and SSH publishing—to automatically build and deploy a Spring Boot JAR, while addressing common pitfalls such as missing manifest attributes and port conflicts.
This article explains Jenkins' fundamental concepts—including jobs, nodes, pipelines, plugins, and credentials—and shows why its powerful scheduling, rich ecosystem, stability, and pipeline‑as‑code approach make it ideal for building automated API testing CI/CD workflows, illustrated with a complete Jenkinsfile example.
The article explains how to convert an API automation framework into a command‑line tool so tests can be run without an IDE, detailing benefits, step‑by‑step transformation, example code, and report standardization for CI/CD integration.
This guide walks you through building an efficient CI/CD pipeline using Jenkins and Docker, covering benefits, architecture design, Maven‑based Docker image creation, Alibaba Cloud registry integration, custom Jenkins Docker image setup, permission handling, GitLab webhook configuration, and deployment automation with scripts.
This step‑by‑step guide shows how to create a full‑stack, enterprise‑level DevOps CI/CD pipeline—from environment setup and Docker installation to Jenkins pipeline scripts, Kubernetes deployments, monitoring, security hardening, and cost‑optimisation—enabling teams to reduce release cycles from days to minutes within a week.
This article provides a step‑by‑step guide to setting up Jenkins for automated CI/CD, covering pipeline workflow, installation, required plugins, global tool configuration, Gitee and SSH integration, Maven project setup, post‑build deployment scripts, and how to run and verify builds.
The Explain Error Plugin for Jenkins now supports the Ollama local model, offering a community‑driven AI solution that simplifies configuration, enhances security, and speeds up build error analysis for both individual developers and enterprise teams.
This comprehensive guide examines the strengths, weaknesses, costs, performance, and security of Jenkins, GitLab CI, and GitHub Actions, offering real‑world case studies and a decision matrix to help small‑to‑medium development teams choose the most suitable CI/CD platform within 30 minutes.
This guide walks you through designing, constructing, version‑controlling, testing, and governing enterprise‑grade Jenkins Shared Libraries so you can treat your pipelines as reusable, maintainable software projects and accelerate CI/CD across teams.
This comprehensive DevOps training course covers theory, Jenkins, GitLab CI/CD, build tools, artifact management, SonarQube, Nexus, Docker/Kubernetes, VM deployment, Jira automation, and advanced extensions, providing step‑by‑step video tutorials for each topic.
This comprehensive tutorial walks you through installing Jenkins on Linux, Windows, and macOS, covering system requirements, installation methods, initial configuration, security hardening, common operations, plugin management, backup, troubleshooting, and future expansion options.
This article presents a comprehensive syllabus for a cloud‑native CI/CD training program, covering fundamentals, tool selection, and hands‑on labs for Jenkins, Tekton, Drone, KubeVela, Zadig, Argo CD, and related technologies across multiple chapters and practical projects.
The article examines Jenkins' security, performance, and maintenance challenges, illustrates how GitHub Actions offers built‑in security, auto‑scaling, and simple YAML configuration, and provides real‑world impact data and a step‑by‑step migration guide for DevOps teams seeking a modern CI/CD solution.
Learn how to create a standardized Jenkins CI/CD pipeline that automates Android APK building, uploading to Pgyer, and notifying teams via DingTalk, eliminating manual errors, speeding delivery, and improving collaboration across development, testing, and product teams.
This guide details how to address Jenkins Performance plugin compatibility problems, modify CSP security policies, customize the Jenkins context path, fix git clone timeouts, resolve batch command failures, replace vulnerable JARs, run JNLP files on Windows agents, disable CSRF protection, adjust JVM memory settings, and implement disk space and build timeout optimizations.
This article explains how the Jenkins Role Strategy plugin’s UI can become unresponsive with many users, introduces a Go SDK that wraps its REST API, demonstrates permission template, role, and user/group management code, and shows how to build a simple Gin‑based web UI for role assignment.
This guide walks you through automating the full lifecycle of a Spring Cloud microservice—from pushing code to Git, configuring Jenkins pipelines with SSH keys, building with Maven, packaging into Docker images, pushing to a registry, and finally deploying and updating the service on Kubernetes—all with step‑by‑step commands and scripts.
This guide walks through creating a Jenkins pipeline that pulls Java code, builds a JAR, transfers it to a remote server via Ansible, and starts the application using SSH, illustrating a complete CI/CD workflow for backend services.
This comprehensive tutorial explains what Jenkins is, why continuous integration matters, and provides detailed, platform‑agnostic instructions for installing JDK, setting up Jenkins, integrating Git and Maven, configuring credentials, enabling SSH keyless login, and creating deployment scripts to automate Java application builds and releases.
This comprehensive guide walks DevOps engineers through the essential concepts, advanced techniques, and best‑practice patterns for building robust, secure, and scalable Jenkins Pipelines, covering declarative vs scripted syntax, agent configuration, multi‑environment deployments, blue‑green releases, performance monitoring, security hardening, fault recovery, and real‑world code examples.
This guide explains how to use Jenkins together with Buildah to automatically build and push multi‑architecture (amd64 and arm64) container images for Go applications, covering prerequisites, a complete Jenkinsfile, tips for faster builds, and a test pipeline demonstration.
This guide shows how to integrate Jenkins with Enterprise WeChat by installing the wxwork-notification plugin, configuring a smart robot webhook, and adding pipeline post steps that send markdown success or failure alerts to a WeChat group, complete with code examples and screenshots.
This guide explains how to set up Jenkins and WinSW on a Windows 10 server to automatically build, package, and deploy a SpringBoot application using batch scripts, covering environment preparation, configuration files, and Jenkins pipeline steps for streamlined backend deployment.
The Jenkins Explain Error Plugin now supports Google Gemini, allowing users to configure the plugin with Gemini's API key and endpoint to leverage AI-powered error analysis directly within Jenkins builds.
This article details a practical DevOps pipeline for Java services using Gitee or GitLab for code hosting, Jenkins for CI/CD, and Docker for containerized deployment, including WebHook setup, build scripts, image cleanup, private registry integration, and optimization tips for multi-environment setups.
The Explain Error Plugin adds an AI‑powered button to Jenkins build logs that automatically sends failure details to OpenAI for analysis, offering a one‑click error explanation via the explainError() pipeline step, with configurable models, API keys, and support for both pipeline and freestyle jobs.
This article explains how to streamline the repetitive manual publishing of WeChat, Alipay, and Douyin mini‑programs by using Node.js tools, a unified configuration center, Jenkins pipelines, and DingTalk notifications to achieve one‑click, synchronized releases in under ten minutes.
This article walks you through installing Jenkins on a Linux server, configuring its service files, setting up admin credentials, managing plugins and user permissions, creating parameterized builds and pipelines, and enabling email notifications for build status.
Learn how to set up Jenkins Pipeline for continuous integration and deployment of PHP applications, covering prerequisite installations, plugin configuration, Jenkinsfile creation with stages for checkout, build, test, and deploy, and executing the pipeline to automate packaging and deployment.
This guide walks you through setting up a fully automated security code detection platform—covering environment preparation, installing JDK, MySQL, SVN, Maven, Tomcat, SonarQube, and Jenkins, configuring each component, integrating them via Jenkins pipelines, and running sample scans to generate actionable security reports.
This article explains how to configure Jenkins pipelines to allow concurrent builds for most branches while ensuring that builds on devel and release branches are queued instead of being aborted, using a simple conditional abortPrevious setting and shared library logic to reduce resource waste and avoid QA disruptions.
This comprehensive guide walks you through Jenkins' origins, explains why it outperforms its predecessor Hudson, and provides step‑by‑step instructions for installing, configuring, securing, and extending Jenkins with pipelines, plugins, user management, and email notifications for robust CI/CD automation.
This article explains how to set up Jenkins Pipeline to automate the continuous integration, testing, and deployment of PHP applications, covering prerequisite installations, plugin configuration, Jenkinsfile creation with stages for checkout, build, test, and deploy, and how to run and verify the pipeline.
This guide explores how to define, assign, and scope variables in Jenkins Pipelines—including environment, params, and direct assignments—through clear explanations, practical code snippets, and a real-world Kubernetes multi-container project, showing how parameterized builds transform static scripts into flexible, maintainable CI/CD workflows.
This guide walks you through setting up a Jenkins pipeline that automatically compiles a Go project, builds a Docker image with Kaniko, and pushes it to a registry, covering prerequisites, agent configuration, pipeline steps, tips, and verification screenshots.
This guide explains how to create a Bash script that monitors a Jenkins Docker container, automatically restarts it when it stops, grant the script execution rights, and schedule it with cron to run every ten seconds, eliminating manual docker restart commands.
This guide walks through the fundamentals of DevOps, illustrating how to transition from simple command‑line deployments to sophisticated, automated CI/CD pipelines using Jenkins, Docker, and shell scripts, while covering JVM tuning, version management, and common troubleshooting tips.
This guide shows how to integrate Jenkins with Prometheus and Grafana, covering plugin installation, metric endpoint exposure, Prometheus scraping configuration, verification via curl, and importing a ready‑made Grafana dashboard to achieve proactive, visualized CI/CD monitoring.
This tutorial demonstrates how PHP developers can set up Jenkins to automate building, testing, and deploying PHP applications by installing Jenkins, creating a job, configuring the repository, environment variables, build scripts, post‑build actions, and running the job for continuous integration and delivery.
Learn how to set up a Jenkins pipeline that automatically pulls a Go project from GitLab, resolves dependencies, compiles the binary, and packages it within a Kubernetes‑based build environment, complete with detailed code snippets and tips for handling network and credential issues.
This article explains how to replace traditional Jenkins agents with Kubernetes containers, covering prerequisites, benefits such as dynamic scaling and environment consistency, step‑by‑step configuration, pipeline code, and verification to create a more efficient and reliable CI/CD workflow.
This guide explains how to create a fast, reliable CI/CD workflow by integrating Jenkins, Docker, Maven, and Alibaba Cloud, covering pipeline benefits, step‑by‑step configuration, Docker image building, registry push/pull, Jenkins container setup, GitLab webhook integration, and common pitfalls with suggested optimizations.
This guide explains why Jenkins permission management is critical, outlines required plugins, walks through switching to the Role‑based Authorization Strategy, shows how to create and assign roles, and demonstrates verification steps to ensure a secure DevOps workflow.
This article explains how to set up Jenkins and its Pipeline plugin to automate the continuous integration, testing, and deployment of a PHP application, covering prerequisite installations, Jenkinsfile creation with stages for checkout, build, test, and deploy, and how to run and verify the pipeline.
This guide walks you through setting up a Squid proxy on Linux, configuring Jenkins to use the proxy, adding a domestic plugin repository, and adjusting firewall rules, enabling reliable network connectivity and plugin installation for Jenkins in environments with restricted internet access.
This tutorial walks through installing Docker and Jenkins on CentOS, configuring system settings, creating a Jenkins job to pull, build, and package a Spring Boot project, testing the pipeline, and finally running the application via Docker, providing complete commands and configuration details for a reliable CI/CD workflow.
This guide walks you through the complete Jenkins CI/CD workflow—from source‑code changes triggering automated builds, tests, and packaging to secure deployment—showing how to set up Jenkins, configure pipelines, install essential plugins, and manage global tools for reliable, hands‑free releases.
This guide walks through a complete one‑click Jenkins pipeline that pulls Spring Cloud source code from Git, builds it with Maven, packages the JAR into a Docker image, pushes the image to a registry, and finally deploys or updates the service on Kubernetes, covering SSH‑key setup, pipeline scripting, and Kubernetes resource definitions.
This article explains how to set up Jenkins and its Pipeline plugin, configure required plugins and a Git repository, write a Jenkinsfile with stages for checkout, build, test, and deploy, and run the pipeline to automate continuous packaging and deployment of PHP applications.
This article explains how to combine Jenkins pipelines with Terraform to automate the provisioning, configuration, and lifecycle management of AWS cloud resources, offering a practical DevOps workflow that enhances efficiency, reliability, and scalability through Infrastructure as Code and CI/CD practices.
This article explains how to create a YAML configuration for CI/CD, store it in a GitLab repository, set up GitLab webhooks and the Jenkins Generic Webhook Trigger plugin, and configure a Jenkins Pipeline to read the YAML and execute conditional build, test, and SonarQube stages.
This article provides a step‑by‑step guide to creating a Jenkins CI/CD pipeline for Java applications, covering environment setup, required plugins, project structure, CI stages such as code checkout, dependency installation, testing, SonarQube scanning, Docker image building and pushing, as well as CD stages including Helm chart creation, deployment, health checks, rollback, and maintenance‑window management.
This article provides a comprehensive overview of essential DevOps engineering tools and practices—including Jira release management, GitLab Gitflow workflow, Jenkins CI/CD pipelines, Maven/Gradle/MSBuild build tools, unit testing frameworks, and SonarQube quality analysis—illustrated with enterprise‑level case studies to demonstrate their real‑world impact.
This article explains how to use Jenkins pipeline parameters and the credentials store to dynamically configure development, testing, and production environments while securely handling database connections and API keys, thereby improving CI/CD flexibility and security.
This guide explains how to set up Jenkins Pipeline to automate the continuous integration, testing, and deployment of PHP projects, covering prerequisite installations, pipeline creation, Jenkinsfile scripting, execution, and verification of successful deployments.
This article explains how to run a Shell script within a Jenkins pipeline, capture its output, and present it through the Input step as a multi‑line text field for approval, illustrating the process with complete pipeline examples.
This tutorial explains how to set up a complete CI/CD pipeline on CentOS 7 by installing Docker and Jenkins, configuring Maven, creating Jenkins jobs, building a Spring Boot application into a Docker image, and running the container, with detailed commands and screenshots for each step.
This guide walks through fixing Jenkins plugin update timeouts by switching to domestic mirrors, troubleshooting Maven pipeline failures caused by missing JVM libraries or disk space limits, clearing Git config lock files, and adjusting file‑descriptor limits and Docker ulimit settings to prevent out‑of‑resource errors.
Learn how to use HashiCorp Packer to create a custom Ubuntu AMI pre‑installed with Docker and JDK 17, then integrate it with Jenkins’ AWS EC2 plugin to dynamically launch consistent, cost‑optimized agents for your CI/CD pipelines.
This guide walks through two common issues when using the Jenkins AWS EC2 plugin—missing node labels and a cluttered console full of terminated instances—explaining why they occur, how to adjust remote user settings and init scripts, and practical steps to clean up and optimize the plugin configuration.
This article provides a step‑by‑step guide on setting up Jenkins Pipeline to automate the continuous integration, testing, and deployment of PHP applications, covering prerequisite installations, plugin configuration, Jenkinsfile creation with stages for checkout, build, test, and deployment, and how to run the pipeline.
This comprehensive tutorial explains what Jenkins is, why CI/CD matters, and provides step‑by‑step instructions for installing JDK and Jenkins on Linux, configuring Git and Maven integration, setting up credentials and password‑less SSH, and creating deployment scripts to automate Java application builds and releases.
This tutorial explains how PHP developers can install Jenkins, create and configure a job, set up source control, environment variables, build scripts, and post‑build actions to automate the packaging and deployment of PHP applications.
This comprehensive tutorial walks you through Jenkins fundamentals, installation, JDK and Git integration, credential management, Maven setup, SSH password‑less login, and deployment scripts, providing all the commands and screenshots needed to automate Java project builds and releases.