Jenkins Freestyle vs Pipeline: A Practical Comparison and Configuration Guide

Overview Jenkins users fall into two camps: one fills out forms on the web UI, clicks a few buttons, and gets things running — simple and direct. The other writes Jenkinsfiles in the code repository, turning build pipelines into code with version control, peer review, and rollback all built in. The first is called Freestyle Project. The second is called Pipeline Project. These two aren’t mutually exclusive. Many teams use both — simple script tasks with Freestyle, complex multi-stage releases with Pipeline....

July 14, 2026 · 19 mins · 3929 words · Xu Baojin

Vulnerability Scanning in CI/CD: From Dependency Checks to Image Security

Overview Vulnerability Scanning in CI/CD: From Dependency Checks to Image Security is an essential skill in SRE operations. In production environments, mastering these techniques can significantly improve system stability and operational efficiency. Why Vulnerability Scanning in CI/CD Matters As systems grow in scale and complexity, traditional operations approaches struggle to meet the demands of modern distributed systems. Vulnerability Scanning in CI/CD helps operations teams: Rapid Problem Resolution: Systematic tools and methods reduce troubleshooting time Improved System Visibility: Establish comprehensive monitoring and observability Proactive Fault Prevention: Identify and fix potential risks before they cause outages Resource Optimization: Allocate and schedule resources efficiently Core Concepts and Principles Basic Concepts The core of Vulnerability Scanning in CI/CD lies in establishing standardized processes and automated toolchains....

May 15, 2026 · 3 mins · 577 words · XuBaojin

Code Review Automation: Lint, CI, and Intelligent Checking Toolchains

Overview Code Review Automation: Lint, CI, and Intelligent Checking Toolchains is an essential skill in SRE operations. In production environments, mastering these techniques can significantly improve system stability and operational efficiency. Why Code Review Automation Matters As systems grow in scale and complexity, traditional operations approaches struggle to meet the demands of modern distributed systems. Code Review Automation helps operations teams: Rapid Problem Resolution: Systematic tools and methods reduce troubleshooting time Improved System Visibility: Establish comprehensive monitoring and observability Proactive Fault Prevention: Identify and fix potential risks before they cause outages Resource Optimization: Allocate and schedule resources efficiently Core Concepts and Principles Basic Concepts The core of Code Review Automation lies in establishing standardized processes and automated toolchains....

April 3, 2026 · 3 mins · 571 words · XuBaojin

Jenkins Pipeline as Code in Practice

Overview Pipeline as Code is the watershed moment when Jenkins evolved from “drag-and-drop configuration” to “code-driven.” Defining pipelines in a Jenkinsfile under Git version control means every pipeline change has a diff to review, a history to trace, and a branch to roll back. This article systematically covers Pipeline as Code practices, from Jenkinsfile syntax to production-grade pipeline design. Reference: Jenkins Pipeline Official Documentation I. Jenkinsfile Syntax 1.1 Declarative vs. Scripted Jenkins Pipeline has two syntax styles:...

July 29, 2024 · 17 mins · 3551 words · XuBaojin

GitOps Workflow: ArgoCD in Practice

GitOps Core Principles GitOps is a modern continuous delivery methodology introduced by Weaveworks in 2017. It uses Git as the Single Source of Truth for infrastructure and application configuration, achieving continuous deployment through declarative practices. According to the ArgoCD documentation, GitOps follows four core principles: 1. Declarative System Infrastructure and application configurations are stored in Git as declarative descriptions (YAML/Helm/Kustomize): # Example Git repository structure infra-repo/ ├── apps/ │ ├── frontend/ │ │ ├── deployment....

July 22, 2024 · 8 mins · 1690 words · XuBaojin

CI/CD Pipeline Design: GitHub Actions in Practice

CI/CD is the lifeblood of modern software delivery. Manual builds and deployments are not only inefficient but also breeding grounds for incidents — the “works on my machine” tragedy almost always stems from a lack of automated pipelines. As GitHub’s native CI/CD platform, GitHub Actions integrates seamlessly with code repositories, offers generous free tiers for open-source projects, and has become one of the most popular CI/CD tools. This article starts from core concepts and walks through two practical scenarios — a Go project and a Hugo site — to comprehensively explain pipeline design....

March 7, 2024 · 12 mins · 2388 words · XuBaojin