JK
JENKINS PROFESSIONAL ACADEMY v3.2

Jenkins Professional Roadmap

JENKINS Curriculum Specification
16 Dedicated Days
From Zero to Enterprise Platform Engineer

Jenkins Professional Roadmap

แผนกลยุทธ์การฝึกอบรม 3 ระดับ (Basic, Intermediate, Expert) ถูกออกแบบตามกระบวนการ 6 สเต็ปมาตรฐาน: ยึด Introduction & Core Meaning เป็นด่านแรก พร้อมระบบ Spaced Repetition Interactive Quizzes แบบเรียลไทม์

Total Phases
3 Stages
Hands-on Labs
16 Days
Interactive Recall
240+ MCQs
Core Objective

"เปลี่ยนความซับซ้อนของ CI/CD ให้กลายเป็นสัญชาตญาณทางวิศวกรรม"

ไม่เสียเวลาท่องจำคำสั่งที่ไม่จำเป็น มุ่งเน้นการเข้าใจ failure domain, isolation, parallel scaling, และ automated governance ระดับองค์กร

โครงสร้างใหม่: Definition & Anatomy นำหน้าเสมอ
Simulator ทดลองปรับค่าเห็นผลก่อนเขียนจริง
Cumulative Quizzes ดึงเนื้อหาวันเก่ามาทดสอบสะสม
AUDITED CURRICULUM READY FOR EXECUTION
Standardized Teaching Structure

มาตรฐานโครงสร้าง 6 ขั้นตอนในแต่ละวัน

ทุกวันจะถูกถ่ายทอดผ่านสเต็ปที่เรียงลำดับอย่างรัดกุม เพื่อรับประกันว่าผู้เรียนจะไม่งงกับศัพท์เฉพาะ และทำความเข้าใจได้อย่างเป็นระบบ

01 First Priority

Introduced Topic & Big Picture

  • Definition มนุษย์: เข้าใจทันทีแม้ไม่มีพื้นฐาน
  • Before vs After: โลกที่ไม่มี vs มีสิ่งนี้แก้ปัญหาอะไร
  • Anatomy: ผ่าเครื่องในชี้เป้าส่วนประกอบหลัก
02 Intuition

Everyday Mental Model

เชื่อมโยงตรรกะามธรรมด้วยสิ่งรอบตัว (เช่น ระบบครัวภัตตาคาร, สายพานสนามบิน, ตั๋วคอนเสิร์ต) เพื่อสร้างภาพจำในสัญชาตญาณก่อนแตะโค้ด

03 War Story

Real-World Engineering Context

เปิดเคสจริงในโปรดักชันว่าทำไมต้องรู้ลึก และถ้าคอนฟิกผิด ระบบจะพังอย่างไร (เช่น Controller OOMKilled, Credential Leak, Zombie Nodes)

04 Code Deconstruction

Hands-on Syntax Breakdown

  • Level 1: คำสั่งง่ายสุดให้เห็นผลลัพธ์ทันที
  • Level 2: ใส่เงื่อนไขตามสถานการณ์จริง
  • Level 3: Production-grade พร้อม CleanWs / Error Trap
05 Hands-on Lab

Interactive Simulator

ทดลองปรับพารามิเตอร์ (เช่น เปลี่ยน Agent Label, ปรับ Branch Pattern) เพื่อเห็นสถานะ Queue และพฤติกรรมของไปป์ไลน์แบบสดๆ

06 Spaced Recall

Interactive Deep-Dive Exam (15 MCQs)

ควิซชอยส์ 15 ข้อ รู้ผลทันทีพร้อมเฉลยละเอียด และดึงเนื้อหาวันก่อนๆ มาผสมผสานตามสูตร Spaced Repetition เพื่อล็อกความรู้ระยะยาว

Jump To Phase:
Core Concepts
Production Ready
Enterprise Scale
PHASE 01 : FOUNDATION | Day 01 - Day 05

The Automation Foundation & Core Pipeline

ทำความเข้าใจกลไก Controller/Agent อย่างถ่องแท้ สร้าง Declarative Pipeline แรกที่ปลอดภัย พร้อมจัดการ Parameters และ SCM Triggers

Open Phase 1 → 75 MCQs Total
DAY 01 Architecture

Controller & Agent Architecture

Master-Worker pattern, เหตุผลที่ห้ามรันงานบน Controller, Failure Domain isolation และการจับคู่ Label กับ Node

Simulator:
Queue blocking vs. Label allocation matching
Quiz: 15 items (100% Day 1) Open →
DAY 02 Pipeline Syntax

Declarative Pipeline Core Syntax

โครงสร้างหลัก `pipeline`, `agent`, `stages`, `steps` และวงจร `post` actions (`always`, `failure`, `cleanup`)

Simulator:
Stage failure simulation & `cleanWs()` verification
Quiz: 10 D2 + 5 D1 (Recall) Open →
DAY 03 Dynamic Config

Environment Variables & Parameters

การใช้ `env.BUILD_NUMBER`, Custom variables, และ Parameterized builds (`string`, `choice`, `booleanParam`)

Simulator:
Dynamic parameters injection into shell runtime
Quiz: 9 D3 + 6 D1-D2 (Recall) Open →
DAY 04 SCM & Automation

SCM Integration & Triggers

กลยุทธ์ Git checkout, Branch specifiers, Webhook vs. Poll SCM vs. H-Cron triggers เพื่อลดโหลดบนเซิร์ฟเวอร์

Simulator:
Cron H-hash scheduling calculation & payload tests
Quiz: 9 D4 + 6 D1-D3 (Recall) Open →
DAY 05 Build Delivery

Artifacts & Fingerprinting

การจัดเก็บผลลัพธ์ด้วย `archiveArtifacts`, การสืบค้นย้อนกลับด้วย Fingerprint, และ JUnit XML test reports

Simulator:
Artifact preservation vs workspace purge behavior
Quiz: 9 D5 + 6 D1-D4 (Phase 1 Cap) Open →
PHASE 02 : INTERMEDIATE | Day 06 - Day 11

Robust & Scalable Delivery Pipelines

ยกระดับไปป์ไลน์สู่มาตรฐานทีม: การจัดการ Credential ปลอดภัย, คอนเทนเนอร์เอเจนต์ Docker, Parallel Scaling, และ Shared Libraries

Exam Composition Open Phase 2 → 90 MCQs Total
DAY 06 Security

Credentials Management

ความลับชนิดต่างๆ (Secret Text, SSH, Secret File), การดึงผ่าน `withCredentials` และการป้องกัน Secret Masking bypass

Simulator:
Log masking detector & accidental leak prevention
Quiz: 9 D6 + 6 Recall (D1-D5)
DAY 07 Containerization

Docker as Pipeline Execution Agents

การใช้ `agent { docker { ... } }`, ephemeral container runtime, volume mounts, และ Docker-in-Docker pitfalls

Simulator:
Container lifecycle & host workspace mounting test
Quiz: 9 D7 + 6 Recall
DAY 08 Flow & Governance

Flow Control & Approval Gates

เงื่อนไข `when` (`branch`, `environment`, `expression`) และ Manual Approval Gate ด้วยคำสั่ง `input`

Simulator:
Branch condition validator & approval timeout simulation
Quiz: 9 D8 + 6 Recall
DAY 09 Performance

Parallel Execution & Resilience

การแตกเธรดรันเทสต์ด้วย `parallel`, การควบคุม fail-fast, timeout gates, และกลยุทธ์ retry เมื่อเน็ตเวิร์กสะดุด

Simulator:
Parallel stage thread race & fail-fast abort mechanics
Quiz: 9 D9 + 6 Recall
DAY 10 Code Reuse

Jenkins Shared Libraries

การสร้าง DRY Pipeline ระดับบริษัทด้วยโครงสร้าง `vars/` และ `src/`, การเขียน Custom Groovy DSL

Simulator:
Shared library function resolution & global var scope
Quiz: 9 D10 + 6 Recall
DAY 11 Quality & Ops

Quality Gates & Alerts

การผูก SonarQube Quality Gate บล็อกการรีลีสเมื่อโค้ดไม่ผ่านเกณฑ์, และการยิง Notification แจ้งเตือนทีม (Slack/Teams)

Simulator:
Sonar gate pass/fail webhook callback simulator
Quiz: 9 D11 + 6 Recall (Phase 2 Cap)
PHASE 03 : EXPERT | Day 12 - Day 16

Enterprise Scale, Resilience & Governance

สถาปัตยกรรมระดับองค์กร: คลัสเตอร์ Kubernetes, Configuration as Code (JCasC), Security Hardening, DR, และ Observability

Exam Composition 75 MCQs Total
DAY 12 Kubernetes Cloud

Ephemeral Agents on Kubernetes

สเกลโหนดระดับหมื่นบิลด์ด้วย Jenkins K8s Plugin, Dynamic Pod Templates (เกิดเมื่อมีงาน ตายเมื่อจบงาน)

Simulator:
K8s Pod dynamic spawning & autoscaler metrics
Quiz: 9 D12 + 6 Recall
DAY 13 IaC Platform

Configuration as Code (JCasC)

จัดการ Controller ทั้งระบบผ่านโค้ด YAML 100% เลิกตั้งค่าผ่าน UI ให้สามารถ Rollback และ Version Control ได้

Simulator:
JCasC YAML live linting & reload dry-run
Quiz: 9 D13 + 6 Recall
DAY 14 Hardening & Auditing

Security Hardening & RBAC

Role-Based Access Control (Role Strategy Plugin), Project-based Matrix, Script Security Approval, และ Audit Trail

Simulator:
RBAC permission matrix simulator (Dev vs Ops vs Auditor)
Quiz: 9 D14 + 6 Recall
DAY 15 Disaster Recovery

High Availability & Disaster Recovery

การสำรองข้อมูล `JENKINS_HOME` ที่ถูกต้อง (ตัด workspace/build logs ทิ้ง), Active-Passive Architecture, Zero-downtime updates

Simulator:
Controller crash & thin backup recovery drill
Quiz: 9 D15 + 6 Recall
DAY 16 Observability

Enterprise Monitoring & Observability

Prometheus metrics exporter, Grafana dashboards, วัด Queue Wait Time, Executor Starvation, และ Job Failure Rates

Simulator:
Queue bottleneck alert & executor capacity planning
Quiz: 15 Grand Comprehensive Final
Interactive Component Demo

ตัวอย่างข้อสอบ Spaced Repetition (Quiz Preview)

ในแต่ละวัน ผู้เรียนจะได้ทำข้อสอบแบบ Interactive 15 ข้อ เลือกคำตอบแล้วรับผลวิเคราะห์และคำอธิบายทางวิศวกรรมทันที

Sample: Day 02 Quiz (Recalling Day 01)
[Recall Question #1] 1 Point

ทำไมในสถาปัตยกรรมระดับ Production จึงมีกฎเหล็กว่า "ห้ามรัน Build หรือ Test ขนาดใหญ่บน Jenkins Controller โดยตรง"?