Debakar Roy

Day 15: Jenkins - Pipelines and best practices

1 min read

Prefer declarative pipelines stored as a Jenkinsfile in the repo: they are versioned, reviewable, and reproducible, unlike UI-only job config. Keep stages small and named (checkout → build → test → deliver → deploy), fail fast on test errors, and never bake credentials into pipeline code — use the credentials store.

Good resources on pipeline best practices: