aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-02-08Remove all "e.printStackTrace()" callselifarley1-7/+0
2017-01-01Merge pull request #7 from csomme/bitbucket-v2-pr-comments-apiS.Nishio2-24/+47
Use the 2.0 Bitbucket pull request comment API.
2016-12-10Merge pull request #5 from technocoreai/http-client-timeoutS.Nishio1-1/+8
Set an explicit HTTP request timeout
2016-12-10Merge pull request #10 from brandones/masterS.Nishio3-23/+46
Improve documentation
2016-12-07Improve parameter helpBrandon Istenes2-3/+12
2016-12-07Add environment variables to README; minor formatting and copy improvementsBrandon Istenes1-20/+34
2016-12-07Merge pull request #6 from nfalco79/patch-1S.Nishio1-12/+19
Readable help
2016-08-25Use the V2 Bitbucket pull request comment API.Chris Somme2-24/+47
The V1 pull request comment API is deprecated. Replace with a call to the V2 API. The V2 API is paginated and may need to be called multiple times to get the entire set of comments. While fixing this I noticed that while fetching pull requests the plugin is using the v2 API there, which is also paginated. So not all open pull requests were being retrieved.
2016-06-22Readable helpNikolas Falco1-12/+19
actually look all on the same line separated by some *. It's incomprehensible to understand how use this property. Only seeing sources now I have idea what the field "branch filter" does. I fix the html so that will look like as designed by author.
2016-06-03[maven-release-plugin] prepare for next development iterationShinsuke Nishio1-2/+2
2016-06-03[maven-release-plugin] prepare release bitbucket-pullrequest-builder-1.4.19Shinsuke Nishio1-2/+2
2016-06-03Merge pull request #87 from frodeaa/ttp_multiple_jobsS.Nishio1-9/+5
Fix TTP only working for one of multiple jobs
2016-06-03Merge pull request #88 from frodeaa/security-170-patchS.Nishio2-11/+40
Adapt to SECURITY-170
2016-05-25remove adding parameters action in the EnvironmentContributorFrode Aannevik2-14/+17
move it back to BitbucketBuildTrigger to fix the the problem that a lot of empty "Parameters" links are added to each build
2016-05-24Adapt to SECURITY-170Frode Aannevik2-28/+54
Use EnvironmentContributor instead of build parameters Based on https://github.com/jenkinsci/ghprb-plugin/pull/344 Fixes: #86
2016-05-21Fix TTP only working for one of multiple jobsFrode Aannevik1-9/+5
The bug was that it did not handle TTBuild comments from another job Will now check all comments if they is a TTBuild for this job, and only trigger the job if we did not find a match Fixes: #82
2016-04-30[maven-release-plugin] prepare for next development iterationShinsuke Nishio1-2/+2
2016-04-30[maven-release-plugin] prepare release bitbucket-pullrequest-builder-1.4.18Shinsuke Nishio1-2/+2
2016-04-30Merge remote-tracking branch 'origin/master'Shinsuke Nishio7-18/+147
2016-04-30[maven-release-plugin] prepare for next development iterationShinsuke Nishio1-2/+2
2016-04-30[maven-release-plugin] prepare release bitbucket-pullrequest-builder-1.4.17Shinsuke Nishio1-2/+2
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-04-08Set an explicit HTTP request timeoutAlexey Ermakov1-1/+8
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.