Recall & Review
beginner
What is branch indexing in Jenkins?
Branch indexing is the process Jenkins uses to discover all branches in a source code repository so it can create or update jobs for each branch automatically.
Click to reveal answer
beginner
What does branch scanning do in Jenkins Multibranch Pipeline?
Branch scanning checks the repository for new, changed, or deleted branches and updates Jenkins jobs accordingly to keep builds in sync with the repository.
Click to reveal answer
intermediate
How often does Jenkins perform branch indexing by default?
By default, Jenkins performs branch indexing every 1 hour, but this interval can be configured in the Multibranch Pipeline settings.
Click to reveal answer
beginner
Why is branch indexing important in Jenkins Multibranch Pipelines?
It ensures Jenkins automatically detects new branches and removes deleted ones, so builds stay up-to-date without manual job creation or deletion.
Click to reveal answer
intermediate
What happens if branch scanning is disabled in Jenkins?
If branch scanning is disabled, Jenkins will not detect new or deleted branches automatically, requiring manual job management for branches.
Click to reveal answer
What is the main purpose of branch indexing in Jenkins?
✗ Incorrect
Branch indexing helps Jenkins find all branches in the repository and manage jobs for them automatically.
How does Jenkins know when to update branch jobs in a Multibranch Pipeline?
✗ Incorrect
Jenkins uses branch scanning to check for new, changed, or deleted branches and updates jobs accordingly.
What happens if a branch is deleted in the repository but branch scanning is not run?
✗ Incorrect
Without branch scanning, Jenkins does not detect deleted branches and their jobs remain until manually removed.
Which Jenkins feature automatically creates jobs for new branches?
✗ Incorrect
Branch indexing discovers new branches and creates jobs for them automatically.
Can the frequency of branch indexing be changed in Jenkins?
✗ Incorrect
Jenkins allows configuring the interval for branch indexing in the Multibranch Pipeline job settings.
Explain how branch indexing and scanning help automate Jenkins Multibranch Pipelines.
Think about how Jenkins stays updated with changes in your source code branches.
You got /4 concepts.
Describe what could happen if branch scanning is disabled in a Jenkins Multibranch Pipeline project.
Consider the impact on automation and maintenance.
You got /4 concepts.