Level 2 — Pipelines for teams · wrap-up
Cheat sheet & self-check
9 questions across 3 lessons. Each answer links back to the lesson it came from.
Pick an answer to see if you got it, and why.
Q1. What does a multibranch pipeline job do?
Show answer
B. Each branch runs its own Jenkinsfile. New branches appear automatically; deleted ones are cleaned up.
From lesson 04 · Multibranch pipelines and webhooksQ2. Why use webhooks instead of periodic polling?
Show answer
B. Polling wastes resources and adds delay. Keep a slow periodic scan only as a safety net for missed webhooks.
From lesson 04 · Multibranch pipelines and webhooksQ3. How does Jenkins stop a failing pull request from being merged?
Show answer
B. Jenkins reports; the Git server enforces through required status checks.
From lesson 04 · Multibranch pipelines and webhooksQ4. Why pin a shared library version in the Jenkinsfile (@Library('lib@v2.3.0'))?
Show answer
B. A shared library runs in every pipeline. Versioning turns it into a release with change control, instead of a global switch.
From lesson 05 · Shared librariesQ5. What goes in the vars/ directory?
Show answer
B. vars/ is the simplest, most common part of a library: named, documented steps usable directly in pipelines.
From lesson 05 · Shared librariesQ6. What's the main risk of a shared library that every team uses?
Show answer
B. Treat the library as a product: tested, versioned and released gradually.
From lesson 05 · Shared librariesQ7. What's the main benefit of ephemeral Kubernetes agents?
Show answer
B. No leftovers between builds, no snowflake agents to patch, and no idle machines waiting for work.
From lesson 06 · Agents on KubernetesQ8. What is the jnlp container in an agent pod?
Show answer
B. Your tool containers run the steps; the jnlp container is the agent itself. If it can't reach the controller, the pod never comes online.
From lesson 06 · Agents on KubernetesQ9. Builds re-download all dependencies every time and are slow. What helps most?
Show answer
B. Ephemeral pods start empty. A nearby package proxy and remote build caches bring back the speed without shared mutable state.
From lesson 06 · Agents on Kubernetes