Recall & Review
beginner
What is a String Parameter in Jenkins?
A String Parameter lets you enter any text value when starting a Jenkins job. It is useful for passing simple text inputs like names or versions.
Click to reveal answer
beginner
How does a Boolean Parameter work in Jenkins?
A Boolean Parameter provides a checkbox that can be either true (checked) or false (unchecked). It is used to toggle options on or off in a job.
Click to reveal answer
beginner
What is a Choice Parameter in Jenkins?
A Choice Parameter lets you select one option from a list of predefined values. It helps limit inputs to specific choices.
Click to reveal answer
intermediate
How do you define a String Parameter in a Jenkins pipeline script?
Use the
string step inside parameters block, for example:<br>parameters {
string(name: 'VERSION', defaultValue: '1.0', description: 'Enter version')
}Click to reveal answer
beginner
What is the default value of a Boolean Parameter if unchecked?
The default value is
false when the checkbox is not checked.Click to reveal answer
Which Jenkins parameter type lets you enter free text?
✗ Incorrect
String Parameter allows free text input when starting a job.
What does a Boolean Parameter display in Jenkins?
✗ Incorrect
Boolean Parameter shows a checkbox to select true or false.
How do you limit input to specific options in Jenkins parameters?
✗ Incorrect
Choice Parameter restricts input to predefined options.
In a Jenkins pipeline, where do you define parameters?
✗ Incorrect
Parameters are defined inside the
parameters block.What is the default value of a Boolean Parameter if not checked?
✗ Incorrect
Unchecked Boolean Parameter defaults to false.
Explain the differences between String, Boolean, and Choice parameters in Jenkins.
Think about how each parameter type collects input from the user.
You got /3 concepts.
Describe how to define a Boolean parameter in a Jenkins pipeline script.
Look for the syntax inside the parameters block.
You got /3 concepts.