aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/bitbucketpullrequestbuilder
diff options
context:
space:
mode:
authorNicholas Blair <nicholas.blair@gmail.com>2017-02-18 16:13:33 -0600
committerNicholas Blair <nicholas.blair@gmail.com>2017-02-18 16:13:33 -0600
commit83260d55784677708a6ab083b06c289ad528099f (patch)
tree8734e6d3a49fc9e8dc96e53b9000d2858d89ba85 /src/main/resources/bitbucketpullrequestbuilder
parent96e6cb666be9cce3f923e3eed39e5e08293c31c5 (diff)
downloadbbprb-83260d55784677708a6ab083b06c289ad528099f.tar.gz
fix: can't have 2 @DataBoundConstructors
Refactor to move default value for commentTrigger to config.jelly. Handle special case in BitbucketBuildRepository where trigger field is null within unit tests (since BitbucketBuildTrigger can't be mocked or initialized in the test).
Diffstat (limited to 'src/main/resources/bitbucketpullrequestbuilder')
-rw-r--r--src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly b/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly
index 0992564..5f7c37c 100644
--- a/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly
+++ b/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly
@@ -39,6 +39,6 @@
<f:checkbox />
</f:entry>
<f:entry title="Comment phrase to trigger build" field="commentTrigger">
- <f:textbox />
+ <f:textbox default="test this please"/>
</f:entry>
</j:jelly>