Pipeline: Model Definition

script: Run arbitrary Pipeline script

validateDeclarativePipeline: Validate a file containing a Declarative Pipeline

Checks if the given file (as relative path to current directory) contains a valid Declarative Pipeline. Returns true | false.
path
Relative ( /-separated) path to file within a workspace to validate as a Declarative Pipeline.

Type: String

envVarsForTool: Fetches the environment variables for a given tool in a list of FOO=bar strings suitable for the withEnv step.

toolId

Type: String

toolVersion

Type: String