Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in DevOps and Agile by (50.2k points)

I'm trying to convert my old style project base workflow to a pipeline based on Jenkins. While going through docs I found there are two different syntaxes named scripted and declarative. Such as the Jenkins web declarative syntax release recently (end of 2016). Although there is a new syntax release Jenkins still supports scripted syntax as well.

Now, I'm not sure in which situation each of these two types would be a best match. scripted syntax will be deprecated soon? So will declarative be the future of the Jenkins pipeline?

Anyone who can share some thoughts about these two syntax types.

1 Answer

0 votes
by (29.3k points)

I have found something on docs regarding this please refer: https://jenkins.io/doc/book/pipeline/syntax/#compare

Browse Categories

...