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?
✗ Incorrect
Freestyle jobs are designed for simple and flexible build configurations without scripting.
Where do you add shell commands to run in a Freestyle job?
✗ Incorrect
The Build section is where you add commands or scripts to execute during the build.
Which option allows a Freestyle job to run automatically on a schedule?
✗ Incorrect
The 'Build periodically' trigger schedules the job to run at set times.
What is NOT a typical post-build action in a Freestyle job?
✗ Incorrect
Adding build steps is done in the Build section, not post-build actions.
How do you start creating a new Freestyle job in Jenkins?
✗ Incorrect
The standard way is to click 'New Item', name the job, select 'Freestyle project', and confirm.
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.