Freestyle job vs Pipeline job: why is Freestyle considered legacy?
BeginnerConceptArchitecture, executors & JENKINS_HOME
Answer
Freestyle jobs are configured in the UI: build steps, post-build actions, stored only in config.xml. They cannot express complex flows, are not code-reviewed, and do not survive controller restarts mid-build. Pipeline jobs define the process in a Jenkinsfile stored with the code, support stages, parallelism, approvals, resume after restart, and shared libraries. Freestyle is still fine for trivial admin tasks, but new delivery pipelines should be Pipeline or Multibranch.
More on Architecture, executors & JENKINS_HOME
What are the main components of a Jenkins installation?BeginnerWhat is the difference between a node, an agent and an executor?BeginnerWhy should the built-in node have 0 executors?BeginnerWhat is `JENKINS_HOME` and what are its most important contents?BeginnerWhat happens if you lose the `secrets/` directory but keep `credentials.xml`?AdvancedHow does an agent communicate with the controller?Intermediate