DevOps / Jenkins Interview questions
Types of Syntax used in creating Jenkinfile.
There are two types of syntax using which we can define a Jenkinsfile:
- Declarative Pipeline syntax, is a new feature that used code for the pipeline. It provides a limited pre-defined structure. Thereby, it offers an easy & simple continuous delivery pipeline. Moreover, it uses a pipeline block.
- Scripted Pipeline syntax, is the old traditional way to write the Jenkinsfile on Jenkins web UI. Moreover, it strictly follows the groovy syntax and helps to develop a complex pipeline as code.
More Related questions...