content_image/705021.jpg
## NOTE 

## par ameters 

A comprehensive list of available options is pending the completion of INFRA-1503. 

The parameters  directive provides a list of parameters which a user should provide when triggering the Pipeline. The values for these user-specified parameters are made available to Pipeline steps via the params  object, see the Example for its specific usage. 

<img src='content_image/705021.jpg'>

## Available Parameters 

## string 

A parameter of a string type, for example: parameters { string(name: 'DEPLOY_ENV', defaultValue: 'staging', description: '') } 

## booleanParam 

A boolean parameter, for example: parameters { booleanParam(name: 'DEBUG_BUILD', defaultValue: true, description: '') } 

## Example 

// Declarative // pipeline { agent any parameters { string(name: 'PERSON', defaultValue: 'Mr Jenkins', description: 'Who should I say hello to?') } stages { stage('Example') { steps { echo "Hello ${params.PERSON}" } } } } // Script // 

## NOTE 

A comprehensive list of available parameters is pending the completion of INFRA- 1503. 

