Jenkins scripted pipeline or declarative pipeline

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Jenkins scripted pipeline or declarative pipeline

Nayana Adassuriya

Hi,

I'm trying to convert my old style project base workflow to pipeline on Jenkins.

While going trough https://jenkins.io/doc/book/pipeline/ I found there are two different syntax named scripted and declarative. As the Jenkins web declarative syntax release recently (end of 2016).

Though, 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 could be a best match. scripted syntax will be deprecated soon and declarative will be the future of Jenkins pipeline?

Anyone there to give some thought behind these two syntax types.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/ae7173c9-62db-4507-9bfb-267726454a8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins scripted pipeline or declarative pipeline

Baptiste MATHUS
Hello,

Please use the users mailing list for question unrelated to the development of Jenkins itself...

Thanks

2017-04-19 4:00 GMT+02:00 Nayana Adassuriya <[hidden email]>:

Hi,

I'm trying to convert my old style project base workflow to pipeline on Jenkins.

While going trough https://jenkins.io/doc/book/pipeline/ I found there are two different syntax named scripted and declarative. As the Jenkins web declarative syntax release recently (end of 2016).

Though, 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 could be a best match. scripted syntax will be deprecated soon and declarative will be the future of Jenkins pipeline?

Anyone there to give some thought behind these two syntax types.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/ae7173c9-62db-4507-9bfb-267726454a8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6Nkn0pz2C70p-u9_VQXecJ9eeDih7Q7nfkDj0vWDdFww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.