0
0
Jenkinsdevops~5 mins

Multi-branch pipeline job creation in Jenkins - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a multi-branch pipeline job in Jenkins?
A multi-branch pipeline job automatically discovers, manages, and executes pipelines for branches in a source code repository.
Click to reveal answer
beginner
Which plugin is required to create multi-branch pipeline jobs in Jenkins?
The 'Pipeline Multibranch Plugin' is required to create and manage multi-branch pipeline jobs.
Click to reveal answer
intermediate
How does Jenkins detect branches in a multi-branch pipeline job?
Jenkins scans the source repository and automatically detects branches that contain a Jenkinsfile to create individual pipeline jobs for each branch.
Click to reveal answer
beginner
What file must be present in each branch for Jenkins to run a pipeline in a multi-branch job?
Each branch must have a 'Jenkinsfile' that defines the pipeline script for Jenkins to execute.
Click to reveal answer
intermediate
How can you trigger a scan for new branches in a multi-branch pipeline job?
You can manually trigger a scan by clicking 'Scan Multibranch Pipeline Now' or configure periodic scans in the job settings.
Click to reveal answer
What does a multi-branch pipeline job in Jenkins do?
AAutomatically builds all branches with Jenkinsfiles
BBuilds only the master branch
CRuns freestyle jobs only
DRequires manual job creation per branch
Which file must be present in a branch for Jenkins to run a pipeline in a multi-branch job?
AJenkinsfile
Bbuild.gradle
CREADME.md
DDockerfile
How does Jenkins find branches to build in a multi-branch pipeline job?
ABy manual job creation for each branch
BBy building all branches regardless of files
CBy scanning the repository for branches with Jenkinsfiles
DBy scanning only the master branch
Which plugin enables multi-branch pipeline jobs in Jenkins?
AGit Plugin
BEmail Extension Plugin
CMatrix Authorization Plugin
DPipeline Multibranch Plugin
How can you update the list of branches Jenkins builds in a multi-branch pipeline job?
AManually add branches in job config
BTrigger 'Scan Multibranch Pipeline Now'
CRestart Jenkins server
DDelete and recreate the job
Explain how Jenkins manages multiple branches using a multi-branch pipeline job.
Think about how Jenkins finds and builds branches without manual setup.
You got /4 concepts.
    Describe the steps to create a multi-branch pipeline job in Jenkins.
    Focus on the setup process from plugin to scanning branches.
    You got /5 concepts.