| 1 | publishers: |
| 2 | - conditional-publisher: |
| 3 | - condition-kind: shell |
| 4 | condition-command: ls file* |
| 5 | on-evaluation-failure: dont-run |
| 6 | action: |
| 7 | - copy-to-master: |
| 8 | includes: |
| 9 | - file1 |
| 10 | - file2*.txt |
| 11 | excludes: |
| 12 | - file2bad.txt |
| 13 | - condition-kind: always |
| 14 | on-evaluation-failure: run-and-mark-unstable |
| 15 | action: |
| 16 | - aggregate-tests: |
| 17 | include-failed-builds: true |