0
0
Jenkinsdevops~5 mins

Freestyle job creation in Jenkins - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a Freestyle job in Jenkins?
A Freestyle job is a simple and flexible Jenkins project type that allows you to configure build steps, triggers, and post-build actions without complex scripting.
Click to reveal answer
beginner
Name the first step to create a Freestyle job in Jenkins.
Click on 'New Item' in Jenkins dashboard, enter a job name, select 'Freestyle project', and click OK.
Click to reveal answer
beginner
Which section in a Freestyle job lets you add commands to run during the build?
The 'Build' section lets you add build steps like executing shell commands or running scripts.
Click to reveal answer
intermediate
How can you trigger a Freestyle job automatically in Jenkins?
By configuring 'Build Triggers' such as polling SCM, scheduled builds, or triggering remotely via URL.
Click to reveal answer
intermediate
What is the purpose of 'Post-build Actions' in a Freestyle job?
They define tasks to run after the build, like sending notifications, archiving artifacts, or triggering other jobs.
Click to reveal answer
What type of Jenkins job is best for simple build and test tasks without complex pipelines?
APipeline job
BFreestyle job
CMultibranch pipeline
DFolder job
Where do you add shell commands to run in a Freestyle job?
ABuild section
BPost-build Actions
CBuild Triggers
DSource Code Management
Which option allows a Freestyle job to run automatically on a schedule?
ASource Code Management polling
BPost-build Actions
CManual build only
DBuild Triggers with 'Build periodically'
What is NOT a typical post-build action in a Freestyle job?
ASend email notifications
BArchive build artifacts
CAdd build steps
DTrigger another job
How do you start creating a new Freestyle job in Jenkins?
AClick 'New Item', enter name, select 'Freestyle project', then OK
BClick 'Manage Jenkins', then 'New Job'
CUse Jenkins CLI only
DCreate a Jenkinsfile
Describe the steps to create and configure a basic Freestyle job in Jenkins.
Think about the sequence from starting a new job to saving it.
You got /8 concepts.
    Explain how build triggers work in a Freestyle job and give examples.
    Triggers help Jenkins know when to run the job.
    You got /4 concepts.