85494b34c5
Support for the following conditions - * Build cause * Day of week * Execution node * Files match * Numerical comparison * Regular expression match * Time * And * Or Change-Id: Ib65de726abf1dd4798d7dd451cd786c61c53742c
21 lines
632 B
YAML
21 lines
632 B
YAML
builders:
|
|
- conditional-step:
|
|
condition-kind: or
|
|
condition-operands:
|
|
- condition-kind: num-comp
|
|
lhs: "2 + 5"
|
|
rhs: "1 + 6"
|
|
comparator: equal
|
|
condition-basedir: "jenkins-home"
|
|
- condition-kind: files-match
|
|
include-pattern:
|
|
- "inc_pattern1"
|
|
- "inc_pattern2"
|
|
exclude-pattern:
|
|
- "exc_pattern1"
|
|
- "exc_pattern2"
|
|
condition-basedir: "jenkins-home"
|
|
steps:
|
|
- shell: "sl"
|
|
|