jenkins-job-builder/tests/builders/fixtures/conditional-step-not-file-exists.yaml
Jaime Flynn af5b5f7bf4 adds support for not condition in conditional_step
updated builders.py to support not condition for conditional_step

Change-Id: Icf6f07ab4a53655d8f52c8793478afd6d93ae75c
2015-02-12 11:59:20 -06:00

11 lines
296 B
YAML

builders:
- conditional-step:
condition-kind: not
condition-operand:
condition-kind: file-exists
condition-filename: mytestfile
condition-basedir: workspace
steps:
- shell: "touch $WORKSPACE/mytestfile"