aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/BitbucketBuildRepositoryTest.java
AgeCommit message (Collapse)AuthorFilesLines
2016-02-03Limit size "key" field in BitBucket POST APIMaxim Epishchev1-1/+114
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-0/+153
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.