Fundamentals¶
This section explains what Jenkins Pipeline is, why we use Jenkinsfiles, and the difference between declarative and scripted syntax.
Topics¶
| Page | What You Will Learn |
|---|---|
| What Is a Jenkinsfile | Pipeline as Code concept, file placement, basic structure |
| Declarative vs Scripted | Syntax comparison, when to use each, migration tips |
Key Points¶
- A Jenkinsfile defines your CI/CD pipeline as code
- Declarative syntax is the recommended default
- Scripted syntax gives full Groovy power but is harder to maintain
- Always store Jenkinsfiles in your repository root
See also¶
- Digital Garden: Knowledge Base
- CI/CD
- Code Quality & CI/CD
- Docker & Docker Compose — Overview
- Git — Overview
- Jenkins Pipeline Guide