ad5ae3e2d6
When multiple steps are used, the condition has the wrong kind of conditional and is always "Always". Add test that exercise multiple steps with a And condition. Also add a dummy test when multiple steps are listed. Fix https://storyboard.openstack.org/#!/story/2000594 Change-Id: I4802bec9db407a09b23eea7e31235136d8bb72c2
17 lines
489 B
YAML
17 lines
489 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"
|
|
- shell: "ls"
|