0
0
Jenkinsdevops~10 mins

Input step for manual approval in Jenkins - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to add a manual approval input step in a Jenkins pipeline.

Jenkins
input message: '[1]'
Drag options to blanks, or click blank then click option'
AProceed with deployment?
BStart build?
CDeploy now?
DContinue?
Attempts:
3 left
💡 Hint
Common Mistakes
Leaving the message blank or too vague.
Using a message that does not indicate approval is needed.
2fill in blank
medium

Complete the code to add a manual approval step with a submitter restriction.

Jenkins
input message: 'Approve deployment?', submitter: '[1]'
Drag options to blanks, or click blank then click option'
Aadmin
Buser
Cguest
Ddeveloper
Attempts:
3 left
💡 Hint
Common Mistakes
Using a role that does not have approval permissions.
Leaving submitter blank which allows anyone to approve.
3fill in blank
hard

Fix the error in the input step syntax for manual approval.

Jenkins
input message: 'Approve?', [1]: 'admin'
Drag options to blanks, or click blank then click option'
Auser
Bsubmitters
Capprover
Dsubmitter
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'submitters' instead of 'submitter'.
Using incorrect keywords like 'approver' or 'user'.
4fill in blank
hard

Fill both blanks to create an input step with a message and timeout.

Jenkins
input message: '[1]', timeout: [2]
Drag options to blanks, or click blank then click option'
AConfirm deployment?
B30
C60
DApprove now?
Attempts:
3 left
💡 Hint
Common Mistakes
Using a message that is not a question.
Setting timeout as a string instead of a number.
5fill in blank
hard

Fill all three blanks to create an input step with message, submitter, and timeout.

Jenkins
input message: '[1]', submitter: '[2]', timeout: [3]
Drag options to blanks, or click blank then click option'
ADeploy to production?
Badmin
C15
Ddeveloper
Attempts:
3 left
💡 Hint
Common Mistakes
Using a submitter role without approval rights.
Setting timeout as a string instead of a number.
Using vague messages.