Jenkins Build Triggers
Build Triggers
Jenkins Build Triggers provide automatic ways to start builds based on specific events or schedules.
- Enable automatic builds without manual intervention
- Support flexibility to initiate builds based on project dependencies, schedules, and SCM changes
Types of Triggers
-
Builds after projects are built
-
Starts a job after other specified jobs finish successfully
-
Useful for chaining builds that rely on each other
-
-
Builds periodically
-
Runs builds on a fixed schedule, using cron-style expressions
-
Ideal for automated nightly or scheduled builds
-
-
GitHub hook trigger for GITScm polling
-
Initiates a build based on push events in GitHub
-
Useful for continuous integration when code changes
-
-
Poll SCM
-
Regularly checks for source control changes and triggers builds if changes are detected
-
Helps keep builds up-to-date with the latest codebase changes
-
-
Trigger builds remotely
-
Allows external systems to initiate builds through a unique URL or token
-
Suitable for triggering builds from scripts, webhooks, or other systems
-