LPI 701-100 Question Answer
A declarative Jenkins pipeline contains the following excerpt:
parameters {
string (name: ‘TargetEnvironment’, defaultValue: ‘staging’, description: ‘Target environment’)
}
How can a task use the value provided for TargetEnvironment?