jenkins-job-builder/tests/publishers/fixtures/conditional-publisher002.yaml
Jaime Flynn 3066e73811 Added flexible publish support
Added support for the Flexible Publish plugin to the JJB publishers.
Updated documentation and unit tests as well.

Change-Id: Id72a4b01f451ae2613b24347afb6493bf7641cd1
2014-10-14 11:54:31 -05:00

19 lines
541 B
YAML

publishers:
- conditional-publisher:
- condition-kind: shell
condition-command: ls file*
on-evaluation-failure: dont-run
action:
- copy-to-master:
includes:
- file1
- file2*.txt
excludes:
- file2bad.txt
- condition-kind: always
on-evaluation-failure: run-and-mark-unstable
action:
- aggregate-tests:
include-failed-builds: true