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

Scripted Pipeline fundamentals

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

Contents


More Related Answers

  • Declarative versus Scripted Pipeline syntax
  • Declarative pipeline and fundamentals

  • Scripted Pipeline fundamentals

    0

    In Scripted Pipeline syntax, one or more node blocks do the core work throughout the entire Pipeline. Although this is not a mandatory requirement of Scripted Pipeline syntax, confining your Pipeline’s work inside of a node block does two things:

    Schedules the steps contained within the block to run by adding an item to the Jenkins queue. As soon as an executor is free on a node, the steps will run.

    Creates a workspace (a directory specific to that particular Pipeline) where work can be done on files checked out from source control.

    Caution: Depending on your Jenkins configuration, some workspaces may not get automatically cleaned up after a period of inactivity. See tickets and discussion linked from JENKINS-2111 for more information. 

    Popularity 1/10 Helpfulness 1/10 Language shell
    Source: Grepper
    Tags: pipeline shell
    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.