0
0
Jenkinsdevops~5 mins

Agent availability and offline handling in Jenkins - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a Jenkins agent?
A Jenkins agent is a machine or environment that runs jobs assigned by the Jenkins master. It helps distribute workload and run builds or tests.
Click to reveal answer
beginner
What does it mean when a Jenkins agent is offline?
An offline agent is not connected to the Jenkins master and cannot run any jobs until it reconnects.
Click to reveal answer
intermediate
How can Jenkins handle an agent that goes offline during a build?
Jenkins can retry the build on another available agent or mark the build as failed depending on the configuration.
Click to reveal answer
intermediate
What is the purpose of the 'Availability' setting for a Jenkins agent?
It controls when the agent should be online or offline, such as always online, only when jobs are assigned, or manually controlled.
Click to reveal answer
beginner
How can you manually bring a Jenkins agent back online?
In the Jenkins UI, go to the agent's page and click the 'Launch agent' or 'Bring Online' button to reconnect it to the master.
Click to reveal answer
What happens when a Jenkins agent goes offline?
AIt stops running jobs until it reconnects
BIt continues running jobs normally
CIt automatically deletes all jobs
DIt becomes the Jenkins master
Which Jenkins feature helps manage when an agent is online or offline?
AJob Parameters
BAgent Availability settings
CPipeline Syntax
DBuild Triggers
If an agent goes offline during a build, what can Jenkins do?
ADelete the build history
BIgnore the failure and continue
CAutomatically restart the Jenkins master
DRetry the build on another agent or fail the build
How do you manually bring a Jenkins agent back online?
AClick 'Bring Online' in the agent's Jenkins UI page
BRestart the Jenkins master
CDelete and recreate the agent
DRun a Jenkins pipeline
What is the role of a Jenkins agent?
ATo manage user permissions
BTo store Jenkins configuration files
CTo run jobs assigned by the Jenkins master
DTo host the Jenkins web interface
Explain what happens when a Jenkins agent goes offline and how Jenkins handles it.
Think about connection and job execution.
You got /4 concepts.
    Describe how to manually bring a Jenkins agent back online and why you might need to do this.
    Focus on manual reconnection steps.
    You got /4 concepts.