aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-03-27Remove check for user agentHEADmasterIgor Pashev1-9/+0
Bitbucket server uses different user agents
2019-05-31Use `display_name` instead of `username`Igor Pashev1-1/+1
Bitbucket is removing `username` from event payloads.
2019-03-31Refactor trigger for future featuresIgor Pashev2-56/+55
For handling more events, for more configuration options, etc.
2019-03-02Suppress warning on 201 responseIgor Pashev1-5/+8
2018-09-19Use simple description of aborted buildIgor Pashev1-12/+7
2018-09-08Really allow rebuilding pull requestsIgor Pashev2-60/+39
(With the Rebuild plugin - https://wiki.jenkins.io/display/JENKINS/Rebuild+Plugin) * Make builds implicitly parameterized. * Make sure `bbprb*` are passed in environment and preserved. * Update Jenkins requirements to 2.60+
2018-07-19Cancel outdated jobs by defaultIgor Pashev1-1/+1
2018-02-20Use source repository when setting build statusIgor Pashev2-16/+13
2018-02-20Remove dead code from ApiClientIgor Pashev1-55/+0
2018-02-19Really remove checkDestinationCommitIgor Pashev1-7/+1
See 5e104c326af8f587568545406d2a973e715a0f25.
2018-02-17Remove unused checkDestinationCommitIgor Pashev1-3/+0
2018-01-28Set build state to STOPPED on abortIgor Pashev2-9/+9
2018-01-28Add crumb exclusion for /bbprb-hook/Igor Pashev1-1/+19
2018-01-18Delete extractTriggerIgor Pashev1-14/+4
2018-01-18BitbucketBuildListener: catch all exceptionsIgor Pashev1-3/+3
`getCause` may return null, we don't care.
2018-01-18BitbucketBuildListener: remove always-true conditionIgor Pashev1-1/+1
2017-12-19Refactor Environment ContributorIgor Pashev3-44/+46
Use `bbprb` prefix for environment variables, export more of them.
2017-12-13Version 0.1.00.1.0Igor Pashev30-2700/+908
2017-06-26Fixed NPEDaniel Fly1-2/+3
2017-06-26Fixed missing initDaniel Fly1-0/+1
2017-06-26Added missing init to fix NullPointerException when setting build statusDaniel Fly2-1/+2
2017-06-22Improved logging for thoubleshootingDaniel Fly1-2/+6
2017-06-04Merge pull request #122 from IDMWORKS/bug/null-destination-commitMartin Damovsky4-8/+105
Fix NullPointerException when a Pull Request's destination commit is NULL
2017-06-04Decreased logging level from INFO to FINE across whole pluginMartin Damovsky7-33/+33
2017-05-29Add support for Jenkins pipelinesJon Fogh1-1/+3
2017-05-17Fix error executing javadoc target - An error has occurred in JavaDocs ↵Nathanial Woolls2-2/+2
report generation: error: unexpected text
2017-05-17Fix NullPointerException when a Pull Request's destination commit is NULLNathanial Woolls2-6/+103
* 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-03-01Cancel outdated jobs - added support for pipeline jobsMartin Damovsky2-2/+14
2017-02-23Merge pull request #112 from jenkinsci/comments-propertiesMartin Damovsky1-18/+1
Comments properties
2017-02-23Merge pull request #113 from jenkinsci/masterMartin Damovsky1-2/+0
merge jenkinsci/ to nishio-dens/
2017-02-23Merge branch 'master' into parameterize-comment-build-triggerNicholas Blair8-78/+128
2017-02-23pullrequest comments and their properties - some of them are not used at the ↵Martin Damovsky1-18/+1
moment -> removed
2017-02-23fixed bug in JSON Parsing for Pullrequest commentsMartin Damovsky1-2/+0
2017-02-22Fixed bug in PullRequest - NPE see ↵Martin Damovsky1-1/+4
https://github.com/nishio-dens/bitbucket-pullrequest-builder-plugin/issues/110
2017-02-22Merge branch 'master' into parameterize-comment-build-triggerNicholas Blair7-94/+172
2017-02-20Fixed reported Findbugs issuesMartin Damovsky8-34/+81
2017-02-20Fix PR build status and update of job descriptionFrode Aannevik2-33/+40
BitbucketBuildListener was not invoked on pipeline jobs Change BitbucketBuildListener to extend from RunListener<Run<?, ?>> so it will invoked to update job description and PR build result
2017-02-20check for disabled build for older jobsGazal K1-3/+7
looks like pipeline jobs don't have a disable option
2017-02-20Add support for Jenkins 2 (incomplete)Frode Aannevik2-13/+25
Replace use of AbstractProject with Job to fix ClassCastException thrown when using the plugin in a pipeline job The fix is "not" complete, it remains to find a replacement to the call AbstractProject.isDisabled used to decide if the build should be skipped Previously called in BitbucketBuildTrigger.run() fixes #94
2017-02-18fix: can't have 2 @DataBoundConstructorsNicholas Blair5-37/+20
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-18Add config entry for commentTrigger fieldNicholas Blair1-0/+3
2017-02-18Parameterize comment phrase to trigger a buildNicholas Blair2-78/+115
Defaults to prior "test this please", can be overridden in the job configuration.
2017-02-18Merge pull request #9 from xob/cancel-outdatedMartin Damovsky3-7/+72
Add option to cancel outdated builds when a pull request is updated
2017-02-18Merge pull request #11 from elifarley/loggingMartin Damovsky2-9/+0
Remove all "e.printStackTrace()" calls
2017-02-10Fix `null/null` repository URLWynand Pieters1-1/+1
On the latest version I started getting these errors in the logs and my jobs would trigger every minute and never flag the build as having run before. ``` POST state INPROGRESS to https://bitbucket.org/api/2.0/repositories/null/null/commit/b6f8169ce460/statuses/build with key 515f53a20bf37bd484f2be5cda6ab168cd194cee with response {"type": "error", "error": {"message": "Repository null/null not found"}} ``` Functionality in `getOwnerName` and `getRepositoryName` name changed from previous versions, moved to inside `setFullName` which is now doing the `if` on the wrong value. This causes `null/null` to be set as the owner name / repo name.
2017-02-08Remove all "e.printStackTrace()" callselifarley1-2/+0
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-07Improve parameter helpBrandon Istenes2-3/+12