Build automation ialah proses menyusun (compile), membungkus (package), dan menyediakan kod secara automatik menjadi artifacts yang boleh disebarkan — tanpa langkah manual. Ia merupakan peringkat utama pertama sesuatu pipeline CI/CD, menukar kod sumber menjadi sesuatu yang boleh diuji dan disebarkan.
Apa yang dilakukan oleh peringkat 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.
