Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (55.6k points)

Can anyone explain the difference between freestyle project and pipeline project in Jenkins?

2 Answers

0 votes
by (119k points)

Freestyle Project:

The purpose of the freestyle project is to implement, develop, or run simple jobs like allowing you to specify the version control system from which you required to extract code and build it and call tests if available. Freestyle projects are meant to orchestrate simple jobs for a project.

Pipeline Project:

Pipeline Project is a new type of Jenkins project that is suitable either when you have to set up a continuous delivery pipeline or to define the deployment pipeline as code. The pipeline project is applicable to build pipelines for complex activities that are not suitable for freestyle project.

If you want to learn Jenkins, I recommend this Jenkins Certification course by Intellipaat.

Also, watch this video on Jenkins Pipeline Tutorial:

0 votes
by (320 points)

The difference is that in Pipeline we have the ability to divide the work into different stages, and we can have any stage we want to represent through the program to implement the programs, and of course, if something goes wrong, we can find out which stage is the problem. . For instance, we have the option to add validation before continuing. We have the ability to take steps in parallel, so we can very easily perform many tests in different industries.

Browse Categories

...