Recall & Review
beginner
What is the role of the Jenkins master in the master-agent architecture?
The Jenkins master controls the system, manages jobs, schedules builds, and distributes tasks to agents. It also provides the user interface and stores build results.
Click to reveal answer
beginner
What is a Jenkins agent and why is it used?
A Jenkins agent is a machine that runs build jobs delegated by the master. It helps distribute workload and allows builds to run on different environments or platforms.
Click to reveal answer
intermediate
How do Jenkins master and agents communicate?
They communicate over a network using protocols like JNLP or SSH. The master sends build tasks to agents, and agents report back the results.
Click to reveal answer
beginner
Why is using agents beneficial in Jenkins?
Agents allow parallel execution of builds, reduce load on the master, and enable running jobs on different operating systems or hardware setups.
Click to reveal answer
intermediate
What happens if the Jenkins master goes down in a master-agent setup?
If the master goes down, agents cannot receive new tasks or report results. The whole system becomes inactive until the master is restored.
Click to reveal answer
What component schedules and manages build jobs in Jenkins master-agent architecture?
✗ Incorrect
The Jenkins master is responsible for scheduling and managing build jobs.
Which protocol is commonly used for communication between Jenkins master and agents?
✗ Incorrect
JNLP (Java Network Launch Protocol) is commonly used for Jenkins master-agent communication.
What is a key advantage of using Jenkins agents?
✗ Incorrect
Agents allow parallel execution of builds, improving efficiency.
If the Jenkins master is down, what happens to the agents?
✗ Incorrect
Agents depend on the master to receive tasks and report results.
Which of these is NOT a function of the Jenkins master?
✗ Incorrect
While the master can run builds, it mainly delegates build jobs to agents.
Explain the roles of Jenkins master and agents in the master-agent architecture.
Think about who controls and who executes.
You got /4 concepts.
Describe the benefits of using agents in Jenkins.
Why not run all builds on the master?
You got /4 concepts.