Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Declarative versus Scripted Pipeline syntax

Pragya Keshap answered on February 24, 2023 Popularity 7/10 Helpfulness 1/10

Contents


More Related Answers

  • jenkins declarative pipeline for loop
  • Jenkinsfile (Declarative Pipeline)
  • jenkins declarative pipeline variables in stage
  • jenkins declarative pipeline functions
  • declarative pipeline jenkins
  • jenkins declarative pipeline sonar
  • Scripted Pipeline fundamentals
  • Declarative pipeline and fundamentals

  • Declarative versus Scripted Pipeline syntax

    0

    A Jenkinsfile can be written using two types of syntax - Declarative and Scripted.

    Declarative and Scripted Pipelines are constructed fundamentally differently. Declarative Pipeline is a more recent feature of Jenkins Pipeline which:

    provides richer syntactical features over Scripted Pipeline syntax, and

    is designed to make writing and reading Pipeline code easier.

    Many of the individual syntactical components (or "steps") written into a Jenkinsfile, however, are common to both Declarative and Scripted Pipeline. Read more about how these two types of syntax differ in Pipeline concepts and Pipeline syntax overview below. 

    Popularity 7/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 24 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.