aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/help-branchesFilter.html
blob: 30e5f5e2e4a06b07229fcfcd0047cfd2f7782879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div>
  Filter option in custom format. Default value is empty or <tt>any</tt>.<br/>
  Available formats:
  <ul>
    <li>any pull requests applied for this project: <tt>any</tt>, <tt>*</tt> or empty string</li>
    <li>filtered by destination branch: <tt>my-branch</tt> or more complex reg-ex filter <tt>r:^master</tt> (must be started with <tt>r:</tt> and case insensitive match).</li>
    <li>filtered by source and destination branches: <tt>s:source-branch d:dest-branch</tt></li>
    <li>filtered by source and destination branches with regex: <tt>s:r:^feature d:r:master$</tt></li>
    <li>filtered by many destination/source branches: <tt>s:one s:two s:three d:master d:r:master$</tt></li>
    <li>filtered by many sources branches: <tt>s:one s:two s:r:^three d:</tt></li>
  </ul>
  <p/>
  When you using format with source branch filter <tt>s</tt> or destination filter <tt>d</tt>, you must specify great than one source and destination filter, eg <tt>s:1 s:2 s:... d:</tt>.<br/>
  Any sources and any destinations for pull request:
  <ul>
    <li>filter string: <tt>*</tt></li>
    <li>filter string: <tt>s: d:</tt></li>
  </ul>
</div>