jenkins-job-builder/tests/builders/fixtures/conditional-step-and.yaml
Somay Jain 85494b34c5 Support for more conditions type in conditions-buildstep plugin
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
2015-07-13 23:35:24 +05:30

17 lines
462 B
YAML

builders:
- conditional-step:
condition-kind: and
condition-operands:
- condition-kind: regex-match
regex: "*abc*"
label: "dabcddabc"
- condition-kind: time
earliest-hour: "2"
earliest-min: "0"
latest-hour: "23"
latest-min: "40"
use-build-time: true
steps:
- shell: "sl"