nextrevision d8d003514b Add regexp option to conditional publisher
Allows for use of regular expression conditions in the conditional
publisher plugin. Exposes two new fields: condition-expression and
condition-searchtext.

Change-Id: Ib752d686f009ca5687956622e22ee466c6791695
2015-11-26 13:42:57 +08:00

11 lines
289 B
YAML

publishers:
- conditional-publisher:
- condition-kind: regexp
condition-expression: ^(origin\/)?master$
condition-searchtext: $GIT_BRANCH
action:
- archive:
artifacts: '**/**'
allow-empty: 'true'