aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-04-30Merge pull request #85 from michaeljb/fix-root-urlS.Nishio1-1/+3
Use JenkinsLocationConfiguration to fetch the URL.
2016-04-30Merge pull request #84 from maxvodo/masterS.Nishio6-17/+144
Available "pullRequestAuthor" env variable (featured from #83)
2016-04-25Use JenkinsLocationConfiguration to fetch the URL.Michael Brandt1-1/+3
`Jenkins.getInstance().getRootUrl()` returns `null` despite the URL being set through the web UI. `JenkinsLocationConfiguration.getUrl()` returns the correct URL. Thanks Esteban Angee on StackOverflow: http://stackoverflow.com/questions/15949946/programatically-access-jenkins-url [Resolves #19]
2016-04-20Available "pullRequestAuthor" env variable (featured from #83)Maxim Epishchev6-17/+144
Env variable "pullRequestAuthor" contain two parts of author: full name of user and short username in format, like: "Some Doo <@somedoo>". Add test for PR build filter: now we can filter also by author: "a:maxvodo" by example.
2016-02-21[maven-release-plugin] prepare for next development iterationShinsuke Nishio1-2/+2
2016-02-21[maven-release-plugin] prepare release bitbucket-pullrequest-builder-1.4.16Shinsuke Nishio1-2/+2
2016-02-21Merge pull request #76 from maxvodo/masterS.Nishio1-0/+2
Properly close connections to avoid TCP CLOSE_WAIT
2016-02-18Properly close connections to avoid TCP CLOSE_WAITMaxim Epishchev1-0/+2
Using HttpMethodBase.releaseConnection() for this stuff.
2016-02-07[maven-release-plugin] prepare for next development iterationShinsuke Nishio1-2/+2
2016-02-07[maven-release-plugin] prepare release bitbucket-pullrequest-builder-1.4.15Shinsuke Nishio1-2/+2
2016-02-07change version from 1.4.15 to 1.4.15-SNAPSHOT to releaseShinsuke Nishio1-1/+1
2016-02-07Merge pull request #74 from maxvodo/masterS.Nishio8-66/+439
Add support for credentials from the Jenkins credentials store
2016-02-04Remove overqualified using of Class<T> as HttpClient interceptorMaxim Epishchev3-20/+15
Constructor of ApiClient now using just <T extends HttpClientFactory> T type to make possible using of HttpClient interceptor in tests.
2016-02-04Merge pull request #10 from maxvodo/fix-null-reference-credentialsIdMax5-8/+170
Merge 'fix-null-reference-credentialsId' into master
2016-02-04Allow default "none" credential in BitbucketRepository::getCredentials()Maxim Epishchev1-0/+1
Using by default only username and passwords fields to provide BitBucket auth cause NullReferenceException in BitbucketRepository::getCredentials(), because credentialsId is null. It's my fault :(
2016-02-03Limit size "key" field in BitBucket POST APIMaxim Epishchev5-8/+169
Refactoring method ApiClient::computeAPIKey() to check maximum size of computed key. Now field size contolled by special constant ApiClient::MAX_KEY_SIZE_BB_API. This changes will resolve, in my opinion, issue with continuously rebuilding: method ApiClient::hasBuildStatus() fail and PR's are always trigger new builds.
2016-02-02Merge branch 'CredentialsSupport' into masterMaxim Epishchev7-59/+275
Also bump pom version Conflicts: .gitignore
2016-02-01Add tests for integration CredentialsSupport functionalMaxim Epishchev4-63/+234
By default we using username/password from original text fields (config.jelly). If credentials ID provided in plugin settings - using them for BitBucket API auth.
2016-02-01Merge branch 'kadaan-CredentialsSupport' into CredentialsSupportMaxim Epishchev4-4/+52
2016-02-01Merge branch 'CredentialsSupport' of ↵Maxim Epishchev4-4/+52
https://github.com/kadaan/bitbucket-pullrequest-builder-plugin into CredentialsSupport Conflicts: .gitignore src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketRepository.java
2016-01-31Merge pull request #73 from nishio-dens/feature/adding-build-badgeS.Nishio1-0/+2
Adding build budge
2016-01-31adding build budgeShinsuke Nishio1-0/+2
2016-01-31[maven-release-plugin] prepare for next development iterationShinsuke Nishio1-2/+2
2016-01-31[maven-release-plugin] prepare release bitbucket-pullrequest-builder-1.4.13Shinsuke Nishio1-2/+2
2016-01-31add snapshot version to pom.xmlShinsuke Nishio1-1/+1
2016-01-31merge pr/71 and resolve conflictShinsuke Nishio12-43/+771
2016-01-31adding gitignoreShinsuke Nishio1-0/+4
2016-01-26Bugfixes issue for continuously rebuilding PRMaxim Epishchev5-37/+296
If available TTP (aka "test this please") comment Jenkins PR builder continuously rebuilding PR. Now Jenkins post specific build comment. If you want to rebuild already rebuilded PR, post new TTP comment.
2016-01-21Refactoring filters code and add testsMaxim Epishchev8-12/+295
Now we can using more complex filters with source/destination filtration. Also add experimental integration with Git SCM plugin.
2016-01-15Fix UTF-8 build statuses and fix issue:1; also minor fixesMaxim Epishchev6-22/+54
2016-01-13Add branches to build filter (similar issue:61)Maxim Epishchev7-11/+155
2016-01-13Travis CIMaxim Epishchev1-0/+11
2015-12-17Merge branch 'master_k' into CredentialsSupportJoel Baranick11-110/+106
# Conflicts: # src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketRepository.java
2015-12-12[maven-release-plugin] prepare for next development iterationShinsuke Nishio1-2/+2
2015-12-12[maven-release-plugin] prepare release bitbucket-pullrequest-builder-1.4.8Shinsuke Nishio1-2/+2
2015-12-12Merge pull request #66 from Dahlgren/feature/pull-request-stateS.Nishio10-108/+104
Use new Build Status instead of commenting on pull requests
2015-12-07Use new Build Status instead of commenting on pull requestsBjörn Dahlgren10-108/+104
News: http://blog.bitbucket.org/2015/11/18/introducing-the-build-status-api-for-bitbucket-cloud/ API: https://confluence.atlassian.com/bitbucket/buildstatus-resource-779295267.html
2015-10-28Add support for plaintext username/password unless credentials are specified.Joel Baranick4-2/+33
2015-10-21Support credentials by allowing UsernamePasswordCredentials to be picked ↵Joel Baranick3-20/+39
when configuring BitbucketBuildTrigger and change BitbucketRepository to use the credentials when setting up the ApiClient.
2015-09-06Merge pull request #58 from b-studios/refactorS.Nishio14-672/+521
Refactorings
2015-09-04:lipstick: Only some cosmetiquesJonathan Brachthäuser1-15/+15
2015-09-04Factor out url construction to v1 and v2Jonathan Brachthäuser1-13/+16
2015-09-04Refactor http requestsJonathan Brachthäuser1-41/+20
2015-09-04Refactor: Have only one generic parse methodJonathan Brachthäuser2-37/+8
2015-09-04Refactored: Only have one file for JSON POJOsJonathan Brachthäuser12-488/+384
2015-08-05Merge pull request #54 from Page-/use-default-paramsS.Nishio1-1/+1
Use default parameters when triggering builds.
2015-08-03Use default parameters when triggering builds.Pagan Gazzard1-1/+1
2015-07-19[maven-release-plugin] prepare for next development iterationShinsuke Nishio1-2/+2
2015-07-19[maven-release-plugin] prepare release bitbucket-pullrequest-builder-1.4.7Shinsuke Nishio1-2/+2
2015-07-19Merge pull request #52 from nishio-dens/feature/remove-symbolS.Nishio1-2/+2
Remove build result marker symbol