aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketRepository.java
AgeCommit message (Collapse)AuthorFilesLines
2017-12-13Version 0.1.00.1.0Igor Pashev1-346/+0
2017-06-04Merge pull request #122 from IDMWORKS/bug/null-destination-commitMartin Damovsky1-4/+21
Fix NullPointerException when a Pull Request's destination commit is NULL
2017-06-04Decreased logging level from INFO to FINE across whole pluginMartin Damovsky1-10/+10
2017-05-17Fix NullPointerException when a Pull Request's destination commit is NULLNathanial Woolls1-4/+21
* see: https://github.com/nishio-dens/bitbucket-pullrequest-builder-plugin/issues/119 * see: https://github.com/nishio-dens/bitbucket-pullrequest-builder-plugin/issues/98
2017-02-23Merge branch 'master' into parameterize-comment-build-triggerNicholas Blair1-46/+55
2017-02-20Fixed reported Findbugs issuesMartin Damovsky1-3/+12
2017-02-18fix: can't have 2 @DataBoundConstructorsNicholas Blair1-1/+10
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).
2017-02-18Parameterize comment phrase to trigger a buildNicholas Blair1-45/+44
Defaults to prior "test this please", can be overridden in the job configuration.
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-20Available "pullRequestAuthor" env variable (featured from #83)Maxim Epishchev1-2/+5
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-04Remove overqualified using of Class<T> as HttpClient interceptorMaxim Epishchev1-2/+2
Constructor of ApiClient now using just <T extends HttpClientFactory> T type to make possible using of HttpClient interceptor in tests.
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 Epishchev1-0/+4
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-01Add tests for integration CredentialsSupport functionalMaxim Epishchev1-13/+30
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 'CredentialsSupport' of ↵Maxim Epishchev1-2/+23
https://github.com/kadaan/bitbucket-pullrequest-builder-plugin into CredentialsSupport Conflicts: .gitignore src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketRepository.java
2016-01-26Bugfixes issue for continuously rebuilding PRMaxim Epishchev1-27/+100
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 Epishchev1-1/+14
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 Epishchev1-11/+22
2016-01-13Add branches to build filter (similar issue:61)Maxim Epishchev1-1/+18
2015-12-17Merge branch 'master_k' into CredentialsSupportJoel Baranick1-75/+36
# Conflicts: # src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketRepository.java
2015-12-07Use new Build Status instead of commenting on pull requestsBjörn Dahlgren1-74/+35
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 Baranick1-2/+9
2015-10-21Support credentials by allowing UsernamePasswordCredentials to be picked ↵Joel Baranick1-2/+17
when configuring BitbucketBuildTrigger and change BitbucketRepository to use the credentials when setting up the ApiClient.
2015-09-04Refactored: Only have one file for JSON POJOsJonathan Brachthäuser1-19/+17
2015-07-19remove build marker symbolShinsuke Nishio1-2/+2
2015-06-18Replace utf symbols in bulid comments with HTML entities.Limon Monte1-9/+9
2015-03-31Fix filemodeatsushi1-0/+0
2015-03-30Implement approve if build successatsushi1-0/+11
2015-02-16Use Unicode characters instead of Bitbucket emoji, to avoid huge SVG in HipchatBalthazar Rouberol1-2/+2
2014-11-18add project name to builds so that build messages can be uniquely identifiedChuck Sakoda1-8/+10
2014-10-13added an option to check the destination branch's last commit, and rebuild ↵John Wismar1-21/+57
if that branch has changed. update documentation with instructions about merging before build, and to mention "Rebuild if destination branch changes?" checkbox
2014-05-15Avoid repeating builds indefinitely after deleting the 'Build started' commentRobert Jeppesen1-4/+7
2014-05-14Delete the first comment when build is finished for a cleaner appearance.Robert Jeppesen1-6/+10
Implements #8
2014-05-14Merge pull request #7 from blacha/updateReBuildS.Nishio1-15/+21
Adding commit hash into bitbucket comment
2014-05-14modify the comments to use bitbucket's markdownBlayne Chard1-12/+10
2014-05-14adding bitbucket pull request hash into BuildStart and BuildFinish messages, ↵Blayne Chard1-11/+19
so when a pull request is updated a new build will be made.
2014-05-14fixing a bug where if the skipPhrases was empty it would skip every buildBlayne Chard1-1/+1
2014-04-16repository: add ci skip functionS.nishio1-0/+16
2014-02-12initial commitS.nishio1-0/+119