aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorMaxim Epishchev <epishev@garant.ru>2016-01-13 15:46:45 +0300
committerMaxim Epishchev <epishev@garant.ru>2016-01-13 19:41:17 +0300
commit523e5384fc123a554d9a0babc1ae3493d50499bb (patch)
treec58e665229297b52ba509e47d1363c7fdcd5d45d /src/main/resources
parent75c0d8c06f0202e8b602f2a09a76a3e427aba0bc (diff)
downloadbbprb-523e5384fc123a554d9a0babc1ae3493d50499bb.tar.gz
Add branches to build filter (similar issue:61)
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly5
-rw-r--r--src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/help-branchesFilter.html5
2 files changed, 9 insertions, 1 deletions
diff --git a/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly b/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly
index 82ab08c..845926d 100644
--- a/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly
+++ b/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly
@@ -14,6 +14,9 @@
<f:entry title="RepositoryName" field="repositoryName">
<f:textbox />
</f:entry>
+ <f:entry title="BranchesFilter" field="branchesFilter">
+ <f:textbox />
+ </f:entry>
<f:entry title="CI Identifier" field="ciKey">
<f:textbox default="jenkins" />
</f:entry>
@@ -29,4 +32,4 @@
<f:entry title="Approve if build success?" field="approveIfSuccess">
<f:checkbox />
</f:entry>
-</j:jelly> \ No newline at end of file
+</j:jelly>
diff --git a/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/help-branchesFilter.html b/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/help-branchesFilter.html
new file mode 100644
index 0000000..8b801db
--- /dev/null
+++ b/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/help-branchesFilter.html
@@ -0,0 +1,5 @@
+Filter option in custom format. Default value is empty or "any".
+Available formats:
+* any pull requests applied for this project: "any", "*" or empty string.
+* filtered by destination branch: "my-branch" or more complex reg-ex filter "r:^master" (must be started with "r:" and case insensitive match).
+* filtered by source and destination branches: "s:source-branch d:dest-branch" \ No newline at end of file