jenkinsci/run-condition-plugin — pull request #4 by imod (2012-04-17 18:17:31+00:00)
Title: Add new condition: CauseCondition

This pull adds a new condition to the run-condition-plugin. The CauseCondition allows to define run-conditions based on the reason why a build was triggered. e.g. only execute a step if the build was triggered by a SCM change. The current implementation supports the following causes:

* UserCause - the build was triggered by a manual interaction
* SCMTrigger - the build was triggered by a SCM change
* TimerTrigger - the build was triggered by a timer
* CLICause - the build was triggered by via CLI interface
* RemoteCause - the build was triggered via remote interface
* UpstreamCause - the build was triggered by an upstream project

The following causes are supported if the XTrigger plugin is installed:

* FSTrigger - the build was triggered by a file system change (FSTrigger Plugin)
* URLTrigger - the build was triggered by a URL change (URLTrigger Plugin)
* IvyTrigger - the build was triggered by an Ivy dependency version has change (IvyTrigger Plugin)
* ScriptTrigger - the build was triggered by a script (ScriptTrigger Plugin)
* BuildResultTrigger - the build was triggered by a result of an other job (BuildResultTrigger Plugin)