Conditions

Conditions are means to narrow the scope of a rule, e.g. only perform the rule actions when the build has a specific outcome, or when the build is of a specific job. Conditions can also be combines, e.g. only performs actions for successful builds of job X.

Build of Job

Job(s)

Start typing the name of the job(s) you want limit the action scope to (or from, see Invert below) and options matching your text will appear.

Invert

Invert can be used to switch between an inclusion or exclusion condition execution.

When invert is not selected, default, then the condition will only match builds if the build is off one of the selected jobs. When invert is selected, then the condition will only match builds if the build is not off to any of the jobs selected.

Build with Result

Operand

Select the operand to use to check the actual build result with the expected build result. Options include:

  • equal to - matches the condition when the actual and expected build results are the same, e.g. Success (actual) is equal to Success (expected).
  • worse than - matches the condition when the actual build result is worse than expected build result, e.g. Failure (actual) is worse than Success (expected).
  • worse or equal to - matches the condition when the actual build result is worse or equal to the expected build results, e.g. Unstable (actual) is worse or equal to Unstable (expected).
  • better than - matches the condition when the actual build result is better than the expected build result, e.g. Unstable (actual) is better than Failure (expected).
  • better or equal to - matches the condition when the actual build result is better than or equal to the expected build result, e.g. Success (actual) is better or equal to Unstable (expected).

Expected Build Result

Select the build result the actual result should be compared to using the selected operand. Options include (best to worse), Success, Unstable, Failure, Not built, Aborted, Unknown.

Synchonized Job

Job(s)

Start typing the name of the job(s) you want limit the action scope to (or from, see Invert below) and options matching your text will appear.

Invert

Invert can be used to switch between an inclusion or exclusion condition execution.

When invert is not selected, default, then the condition will only match if the job is one of the selected jobs. When invert is selected, then the condition will only match jobs if the job is not one of the jobs selected.


Previous: Events
Next: Actions
Jenkins Integration for Jira

Didn’t find what you were looking for?