View BuildResultTrigger on the plugin site for more information.
This plugin is up for adoption. Want to help improve this plugin? Click here to learn more!
BuildResultTrigger makes it possible to monitor the build results of other jobs.
When you you have two jobs jobA and jobB and you want Jenkins to schedule jobB after the jobA execution (whatever the build result of jobA), you can configure Jenkins to say that jobB is the downstream job of jobA. The drawback with this approach is that jobA has the knowledge of its dependencies.
With the BuildResultPlugin, you configure jobB to monitor jobA build result. A build is scheduled if there is a new build result matches your criteria (unstable, failure, ...)
Note: The plug-in uses only persistence in memory. There is no impact on the Jenkins infrastructure (no new files created).
This plugin provides a polling typology among the XTrigger Plugin.
Some use cases
* Having dedicated jobs (such as cleaning an environment, backing up a database, ...) that are scheduled if other jobs are in failure.
The other jobs don't depend on these dedicated jobs.
* Implementing a build pipeline (or a build chain) in which each step of the build pipeline is implemented with a Jenkins job.
Comparison with other plugins
This plugin provides the inverse mechanism of the core feature (downstream/upstream) and the Parameterized Trigger Plugin.
- Show upstream project in dependency graph
- Fix JENKINS-18888 - Add AND of build results instead of OR
- Fix JENKINS-18889 - BuildResultTrigger should not need to check for available nodes
- Fix JENKINS-18667 - NullPointerException when saving job config
- Fix JENKINS-18931 - Build is triggered incorrectly when a triggered build starts running
- Fix JENKINS-18389 - BuildResult constantly triggers job
* Fix poll with at least two checked jobs
* Fix JENKINS-17641 - Unknown field 'logEnabled' in org.jenkinsci.lib.xtrigger.XTriggerCause
* Fix JENKINS-14580 - Configuration of Buildresult-Trigger remains unchanged, when saved.
Version 0.8 (Jenkins 1.461+)
* Fix JENKINS-13746 - Buildresult trigger plugin does not support hierachical folders
* Fix Security issues
* Fix the restriction to READ elements
* Fix JENKINS-13182 - Add parent job name to the list of multi-configuration project child jobs
* Migrate to xtrigger-lib 0.8
* Updated parent version to 1.409 so it can be used in a LTS version
* Fix Button labels
* Changed detection processing, based on build number
* Initial version