Question: what is the difference between freestyle project and pipeline in jenkins?
Answer: In our example, in the Freestyle job everything is executed in the agent, but for the Scripted Pipeline Job, the pipeline code is translated in the master to atomic commands that are sent to the agents.