Automatizacija gradnje je proces automatskog kompajliranja, pakiranja i pripreme koda u deployable artefakte — bez manualnih koraka. To je prva velika faza CI/CD pipeline-a, pretvarajući izvorni kod u nešto što se može testirati i deployati.
Što radi faza gradnje
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.
