Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #12 from Flagbit/add-credentials-management
[JENKINS-32574] Add credentials management
- Loading branch information
Showing
with
198 additions
and 68 deletions.
- +54 −12 README.md
- +5 −0 pom.xml
- +115 −30 src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifier.java
- +1 −1 src/main/java/org/jenkinsci/plugins/bitbucket/api/BitbucketApi.java
- +11 −12 src/main/resources/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifier/config.jelly
- +6 −13 src/main/resources/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifier/global.jelly
- +3 −0 ...in/resources/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifier/help-credentialsId.html
- +3 −0 ...ources/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifier/help-globalCredentialsId.html
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -9,7 +9,7 @@ | ||
|
||
public class BitbucketApi extends DefaultApi20 { | ||
|
||
public static final String OAUTH_ENDPOINT = "https://bitbucket.org/site/oauth2/"; | ||
|
||
@Override | ||
public String getAccessTokenEndpoint() { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,15 +1,14 @@ | ||
<?jelly escape-by-default='true'?> | ||
<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="${%Notify build start}" field="notifyStart"> | ||
<f:checkbox /> | ||
</f:entry> | ||
<f:entry title="${%Notify build finish}" field="notifyFinish"> | ||
<f:checkbox /> | ||
</f:entry> | ||
<f:advanced> | ||
<f:entry title="${%Credentials}" field="credentialsId"> | ||
<c:select /> | ||
</f:entry> | ||
</f:advanced> | ||
</j:jelly> |
Oops, something went wrong.