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.

All CI/CD questions

More on Jenkins