Interview Prep/Jenkins/Architecture, executors & JENKINS_HOME

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.

All Jenkins questions Roadmap: Jenkins

More on Architecture, executors & JENKINS_HOME