What are the main Jenkins project types (Freestyle, Pipeline, Multibranch, Organization Folder)?
IntermediateConceptJenkins
Answer
- Freestyle: UI-configured steps; legacy, hard to version.
- Pipeline: a single job defined by a Jenkinsfile (inline or from SCM).
- Multibranch Pipeline: scans a repo and auto-creates a job per branch, PR and tag that contains a Jenkinsfile; deletes jobs when branches vanish.
- Organization Folder: scans a whole GitHub org or Bitbucket project and creates a multibranch job per repo with a Jenkinsfile.
We use Organization Folders so new repos get CI just by adding a Jenkinsfile.
More on Jenkins
What is Jenkins and how is its architecture organised?BeginnerWhat are executors, nodes and labels in Jenkins?IntermediateWhy should you not run builds on the Jenkins controller?BeginnerHow do inbound (JNLP/WebSocket) and SSH agents connect to the controller?IntermediateWhat is a Jenkinsfile and where does it live?BeginnerDeclarative versus Scripted Pipeline: what are the differences?Intermediate