aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2016-02-03Limit size "key" field in BitBucket POST APIMaxim Epishchev3-4/+49
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 Epishchev2-34/+80
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 Epishchev2-2/+44
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 Epishchev3-36/+154
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 Epishchev3-11/+105
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 Epishchev4-20/+52
2016-01-13Add branches to build filter (similar issue:61)Maxim Epishchev3-4/+134
2015-12-17Merge branch 'master_k' into CredentialsSupportJoel Baranick6-109/+92
# Conflicts: # src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketRepository.java
2015-12-07Use new Build Status instead of commenting on pull requestsBjörn Dahlgren6-108/+91
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 Baranick2-2/+23
2015-10-21Support credentials by allowing UsernamePasswordCredentials to be picked ↵Joel Baranick2-14/+36
when configuring BitbucketBuildTrigger and change BitbucketRepository to use the credentials when setting up the ApiClient.
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/+28
2015-09-04Refactored: Only have one file for JSON POJOsJonathan Brachthäuser12-488/+384
2015-08-03Use default parameters when triggering builds.Pagan Gazzard1-1/+1
2015-07-19remove build marker symbolShinsuke Nishio1-2/+2
2015-07-19Fix getCommitHash to getSourceCommitHashShinsuke Nishio1-1/+1
2015-07-17Merge pull request #16 from exi/specify-git-revisionS.Nishio1-1/+2
Specify git revision
2015-06-18Replace utf symbols in bulid comments with HTML entities.Limon Monte1-9/+9
2015-03-31Fix filemodeatsushi5-0/+0
2015-03-30Implement approve if build successatsushi5-1/+67
2015-02-16Use Unicode characters instead of Bitbucket emoji, to avoid huge SVG in HipchatBalthazar Rouberol1-2/+2
2015-02-12Merge pull request #39 from hugofonseca/patch-1S.Nishio1-2/+2
fix description link
2015-02-11fix description linkHugo Fonseca1-2/+2
2015-02-12Fix Bug; Raise Null pointer exception when not using Jenkins proxyShinsuke Nishio1-1/+1
2015-02-11fix description linkHugo Fonseca1-2/+2
I didn't test this because I don't have the environment configured but I think that this does not need that though. The thing is taht I have this in my console ```<a href=https://bitbucket.org/org_duimmyy/projectdummy/pull-request/39>#39 PROJECT-1368</a>```
2015-02-06Return empty collections instead of null to prevent NPE.Troy Kelley1-2/+3
2015-01-20Add support for proxy configurationmaksym.grebenets1-3/+26
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 Wismar4-28/+78
if that branch has changed. update documentation with instructions about merging before build, and to mention "Rebuild if destination branch changes?" checkbox
2014-07-24explicitly specify git hash to buildReno Reckling1-1/+2
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 Jeppesen5-17/+60
Implements #8
2014-05-14Merge pull request #7 from blacha/updateReBuildS.Nishio5-18/+56
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 Chard5-14/+54
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-04-16set ci skip phrase triggerS.nishio1-1/+8
2014-02-12initial commitS.nishio13-0/+1036