Capgemini Interview Question

What is declarative pipeline in Jenkins?

Interview Answer

Anonymous

Jan 20, 2021

Instead of creating multiple jobs in Jenkins we can create a declarative pipeline job by using the script called groovy in that we can create a multiple stages nothing but a Separate job and we can use this pipeline for multiple modules in the project by editing the stages in the pipeline as per project requirement.

1