Recall & Review
beginner
What is a pipeline trigger in Jenkins?
A pipeline trigger is a way to start a Jenkins pipeline automatically when a specific event happens, like a code commit or another pipeline finishing.
Click to reveal answer
beginner
Explain upstream and downstream pipelines in Jenkins.
An upstream pipeline is the one that runs first and can trigger another pipeline called the downstream pipeline. The downstream pipeline depends on the upstream pipeline's completion.
Click to reveal answer
intermediate
How can you trigger a downstream pipeline from an upstream pipeline in Jenkins?
You can use the 'build' step in the upstream pipeline script to start the downstream pipeline after the upstream finishes.
Click to reveal answer
beginner
What is the benefit of using pipeline triggers between upstream and downstream jobs?
It automates the workflow, ensuring that dependent tasks run in order without manual intervention, saving time and reducing errors.
Click to reveal answer
beginner
Name one way to trigger a Jenkins pipeline on a code commit.
You can use a webhook from your source code repository (like GitHub) to trigger the Jenkins pipeline when code is pushed.
Click to reveal answer
Which Jenkins pipeline is called the 'downstream' pipeline?
✗ Incorrect
The downstream pipeline is the one triggered by another pipeline, called the upstream pipeline.
What Jenkins step is commonly used to trigger another pipeline?
✗ Incorrect
The 'build' step is used to trigger another pipeline or job in Jenkins.
How can a Jenkins pipeline be triggered automatically on a code push?
✗ Incorrect
A webhook from the code repository can notify Jenkins to start the pipeline automatically on code push.
What is the main advantage of linking upstream and downstream pipelines?
✗ Incorrect
Linking pipelines automates workflows so tasks run in the correct order without manual steps.
Which of these is NOT a trigger type for Jenkins pipelines?
✗ Incorrect
Jenkins does not support database triggers natively for pipelines.
Describe how you would set up a Jenkins pipeline to trigger another pipeline after it finishes.
Think about the Jenkins pipeline script and how one job can start another.
You got /4 concepts.
Explain the difference between upstream and downstream pipelines and why this relationship is useful.
Consider which pipeline runs first and which depends on the other.
You got /4 concepts.