Build Cause Run Condition0.1Minimum Jenkins requirement: 1.424ID: build-cause-run-condition
This plugin implements a build cause run condition to be used by the Run Condition Plugin.
Build Cause Condition
This provides an ExtensionPoint that can be used by plugins to define new extended causes, for example this should be done for any trigger that provides its Cause type that make provide extra information that can be used.
- Started by a User
This cause allows you to only run the condition when a particular user(s) starts the build.
if the users field is empty, it treats this as any user started build returns true.
Can be used to ignore all build requests from a particular user if they are abusing the build now button.
- Started by upstream project
This cause allows you to only run the condition when a particular project(s) starts the build.
If the projects field is empty, it treats this as any project started build returns true.
This allows configurations to perform different actions based which upstream job started this one, this will allow you to collect artefacts from just that upstream project rather than all of them.
Other Cause Conditions are currently implemented in other plugins
There is no content with the specified labels
If your plugin is not shown here and you have implemented the BuildCauseCondition Extension point, add the label "plugin-build-cause-run-condition-provider" to the wiki page.
Implementing you own build cause condition
This requires at minimum just three items
Class extending BuildCauseCondition and providing its Descriptor extending BuildCauseConditionDescriptor
and also a config.jelly file to display it.
For other examples see the implementations of UserCause and UpstreamCause in the plugin on github.
- Initial version
Questions, Comments, Bugs and Feature Requests
Please post questions or comments about this plugin to the Jenkins User mailing list.
To report a bug or request an enhancement to this plugin please create a ticket in JIRA.