Back

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

Can anyone explain the declarative pipeline in Jenkins?

1 Answer

0 votes
by (119k points)

Jenkins Pipeline execution engine supports two types of syntaxes such as Scripted Pipeline and Declarative Pipeline. Scripted Pipeline allows us to write the pipeline code in a Groovy DSL and Declarative Pipeline replaces Groovy variable assignments, control structures, loops, and exception handling with a predefined structure and model helps users of any level to create consistent, concise Pipelines easily without learning Groovy. Declarative has better syntactical features and easy to write and read the pipeline code compared to Scripted Pipeline.

If you want to learn Jenkins, you can sign up for this Jenkins Training course by Intellipaat.

Also, watch this video on Jenkins Pipeline Tutorial:

Related questions

0 votes
1 answer
0 votes
2 answers
0 votes
1 answer
asked Jun 8, 2020 in DevOps and Agile by Sudhir_1997 (55.6k points)

Browse Categories

...