Recall & Review
beginner
What is Branch Discovery in Jenkins Multibranch Pipeline?
Branch Discovery is a feature in Jenkins Multibranch Pipeline that automatically finds and manages branches in a source code repository, allowing Jenkins to build each branch separately.
Click to reveal answer
beginner
How does Jenkins discover branches in a Git repository?
Jenkins uses the Branch Discovery strategy configured in the Multibranch Pipeline job to scan the repository and find branches based on rules like including all branches or only those with pull requests.
Click to reveal answer
intermediate
What are the common Branch Discovery strategies in Jenkins?
Common strategies include: 1) Discover all branches, 2) Discover branches that are also filed as pull requests, 3) Discover only branches with open pull requests, and 4) Ignore branches.
Click to reveal answer
beginner
How do you configure Branch Discovery in Jenkins UI?
In Jenkins, go to your Multibranch Pipeline job > Configure > Branch Sources > Add Source (e.g., Git) > Under Behaviors, select 'Discover branches' and choose the desired strategy like 'All branches' or 'Branches with pull requests'.
Click to reveal answer
beginner
Why is Branch Discovery important in CI/CD pipelines?
Branch Discovery ensures Jenkins automatically detects new branches and pull requests, enabling automated builds and tests for each branch, which helps maintain code quality and speeds up development.
Click to reveal answer
What does Branch Discovery in Jenkins Multibranch Pipeline do?
✗ Incorrect
Branch Discovery automatically finds and manages branches so Jenkins can build them.
Which Jenkins job type supports Branch Discovery?
✗ Incorrect
Branch Discovery is a feature of Multibranch Pipeline jobs.
In Jenkins, where do you configure Branch Discovery settings?
✗ Incorrect
Branch Discovery is configured under Branch Sources in the Multibranch Pipeline job settings.
Which Branch Discovery strategy would you use to build only branches with open pull requests?
✗ Incorrect
The strategy 'Discover only branches with open pull requests' builds only those branches.
What is a benefit of using Branch Discovery in Jenkins?
✗ Incorrect
Branch Discovery lets Jenkins build new branches automatically.
Explain what Branch Discovery configuration is in Jenkins and why it is useful.
Think about how Jenkins finds branches to build automatically.
You got /4 concepts.
Describe the steps to configure Branch Discovery in a Jenkins Multibranch Pipeline job.
Focus on the Jenkins UI navigation and options.
You got /5 concepts.