aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/bitbucketpullrequestbuilder
diff options
context:
space:
mode:
authorJoel Baranick <joel.baranick@ensighten.com>2015-10-21 14:21:34 -0700
committerJoel Baranick <joel.baranick@ensighten.com>2015-10-21 14:21:34 -0700
commit8101c2fc7b6ca2b2fa1d835f2c5b2a5f159539a0 (patch)
treeb3c1bbed511705fe1cef01570be2f3002240f520 /src/main/resources/bitbucketpullrequestbuilder
parentd002e0b758c1907c2d4963a2b9e556177e05ab03 (diff)
downloadbbprb-8101c2fc7b6ca2b2fa1d835f2c5b2a5f159539a0.tar.gz
Support credentials by allowing UsernamePasswordCredentials to be picked when configuring BitbucketBuildTrigger and change BitbucketRepository to use the credentials when setting up the ApiClient.
Diffstat (limited to 'src/main/resources/bitbucketpullrequestbuilder')
-rw-r--r--src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly b/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly
index 0eee781..df43e5a 100644
--- a/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly
+++ b/src/main/resources/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger/config.jelly
@@ -1,12 +1,9 @@
-<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
+<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:c="/lib/credentials">
<f:entry title="Cron" field="cron">
<f:textbox />
</f:entry>
- <f:entry title="Bitbucket BasicAuth Username" field="username">
- <f:textbox />
- </f:entry>
- <f:entry title="Bitbucket BasicAuth Password" field="password">
- <f:password />
+ <f:entry title="${%Credentials}" field="credentialsId">
+ <c:select/>
</f:entry>
<f:entry title="RepositoryOwner" field="repositoryOwner">
<f:textbox />