aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2017-12-13Version 0.1.00.1.0Igor Pashev2-662/+0
2017-06-04Merge pull request #122 from IDMWORKS/bug/null-destination-commitMartin Damovsky1-2/+82
Fix NullPointerException when a Pull Request's destination commit is NULL
2017-06-04Decreased logging level from INFO to FINE across whole pluginMartin Damovsky1-2/+2
2017-05-17Fix NullPointerException when a Pull Request's destination commit is NULLNathanial Woolls1-2/+82
* 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-19/+19
2017-02-22Merge branch 'master' into parameterize-comment-build-triggerNicholas Blair1-4/+7
2017-02-20Fixed reported Findbugs issuesMartin Damovsky1-19/+19
2017-02-18fix: can't have 2 @DataBoundConstructorsNicholas Blair2-6/+9
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).
2016-10-27Add option to cancel outdated builds when a pull request is updatedOlivier Bellemare1-4/+8
2016-04-20Available "pullRequestAuthor" env variable (featured from #83)Maxim Epishchev1-0/+20
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-6/+10
Constructor of ApiClient now using just <T extends HttpClientFactory> T type to make possible using of HttpClient interceptor in tests.
2016-02-03Limit size "key" field in BitBucket POST APIMaxim Epishchev2-4/+120
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-29/+154
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-01-26Bugfixes issue for continuously rebuilding PRMaxim Epishchev1-0/+141
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-0/+170
Now we can using more complex filters with source/destination filtration. Also add experimental integration with Git SCM plugin.