Build automation คือกระบวนการ compile แพ็กเกจ และเตรียม โค้ดให้เป็น artifacts ที่ deploy ได้โดยอัตโนมัติ โดยไม่มีขั้นตอน manual มันคือขั้นตอนหลักแรกของ CI/CD pipeline ที่เปลี่ยน source code ให้เป็นสิ่งที่สามารถทดสอบและ deploy ได้
ขั้นตอน build ทำอะไร
The BUILD automates turning source code into a deployable ARTIFACT:
→ INSTALL dependencies (npm install, pip install, etc.)
→ COMPILE / transpile code (if needed: Java, TypeScript, Go, etc.)
→ BUNDLE / package (frontend bundles, JARs, binaries)
→ BUILD container images (Docker) if containerized
→ produce ARTIFACTS ready for testing and deployment
→ Automated, consistent, repeatable — no manual build steps.
