scripted | declarative | pipeline

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

scripted | declarative | pipeline

Chandra shekar
Hi Guys,i hope you all doing well.

I have a doubt regarding the pipelines(scripted & Declarative).I know the difference of these two pipelines and also i can write scripts in groovy,but my problem is when to use the declarative and when to use scripted pipeline.

1)on which condition we use declarative pipeline in jenkins?
2)on which condition we use scripted pipeline in jenkins? 



Thanks & Regrads,
Chandra

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/2ab7685e-85b7-49b6-b0c2-1f0d0a201433%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: scripted | declarative | pipeline

Toni Van de Voorde

On Wed, 15 Jan 2020 at 16:05, Chandra shekar <[hidden email]> wrote:
Hi Guys,i hope you all doing well.

I have a doubt regarding the pipelines(scripted & Declarative).I know the difference of these two pipelines and also i can write scripts in groovy,but my problem is when to use the declarative and when to use scripted pipeline.

1)on which condition we use declarative pipeline in jenkins?
2)on which condition we use scripted pipeline in jenkins? 



Thanks & Regrads,
Chandra

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/2ab7685e-85b7-49b6-b0c2-1f0d0a201433%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/CAGRKivyrwy2a54J3Yfa3JwX4WS5oZ3vrOaGMVNUhq2RVpfyL_w%40mail.gmail.com.