Jenkins Concepts
Jenkins Pipeline is the primary way to describe delivery automation in Jenkins. It turns build and deployment logic into code.
Core Ideas
- Pipeline as Code through
Jenkinsfile. - Declarative or scripted pipeline syntax.
- Stages and steps.
- Agents and execution nodes.
- Shared libraries for reuse.
Practical Notes
- Keep pipeline logic in the repository.
- Use declarative pipelines for most workflows.
- Keep the controller focused on orchestration, not heavy build work.
References
- https://www.jenkins.io/doc/pipeline/tour/getting-started/
- https://www.jenkins.io/doc/pipeline/tour/hello-world/