Releases: jenkinsci/bitbucket-branch-source-plugin
936.2.0
Features
- JENKINS-74983 Add support for authenticated Webhooks registered in Bitbucket by @nfalco79 in #1044
- Track credentials on action "Scan Project Now" by @nfalco79 in #1038
Bug Fixes
- JENKINS-75466 Notifying commit build result sometimes returns HTTP 404 by @nfalco79 in #1036
Mantainances
- Bump com.puppycrawl.tools:checkstyle from 10.23.0 to 10.23.1 by @dependabot in #1032
- Cleanup code by @nfalco79 in #1037
- Bump org.jenkins-ci.plugins:plugin from 5.12 to 5.14 by @dependabot in #1040
- Bump org.jenkins-ci.plugins:plugin from 5.14 to 5.17 by @dependabot in #1046
- Bump net.javacrumbs.json-unit:json-unit-assertj from 4.1.0 to 4.1.1 by @dependabot in #1042
- Bump io.jenkins.tools.bom:bom-2.479.x from 4607.v67a_4791074d7 to 4770.v9a_2b_7a_9d8b_7f by @dependabot in #1045
Full Changelog: 936.1.1...936.2.0
936.1.1
Bug Fixes
- JENKINS-75609 Missing avatar for private when Jenkins security is enabled by @nfalco79 in #1035
- JENKINS-75611 Disabling HTTPS cloning protocol on Data Center causes builds to fail even if SSH checkout feature is configured by @nfalco79 in #1034
Full Changelog: 936.1.0...936.1.1
936.1.0
Bug fixes
- JENKINS-75604 Error retrieving tag timestamp from webhook event since plugin version 935.0.0 by @nfalco79 in #1029
- JENKINS-75555 InvalidObjectIdException when "Scan Project Now" and multibranch-build-strategy plugin is installed by @nfalco79 in #1031
Features
- JENKINS-49417 Implement BitbucketSCMFileSystem.changesSince() by @nfalco79 in #1027
Maintainance
- Remove redundant bridge-method-injector plugin declaration by @giovanni-vaccarino in #1026
- Reduce the duplicated code both cloud and server client to handle responses and paged responses from GET requests. by @nfalco79 in #1028
- Move commons-lang to next major version commons-lang3 by @nfalco79 in #1030
New Contributors
- @giovanni-vaccarino made their first contribution in #1026
Full Changelog: 936.0.1...936.1.0
936.0.1
Bug Fixes
- Fix basic authentication for BitbucketUsernamePasswordAuthenticator by @nfalco79 in #1010
- JENKINS-75466 Notifying commit build result sometimes returns HTTP 404 by @nfalco79 in #1016
- JENKINS-75523 PRs created from tags cannot be checked out by @nfalco79 in #1022
- Rework the GitClientAuthenticatorExtension by @nfalco79 in #1024
Features
- Update Apache HTTP Client to version 5.4 by @nfalco79 in #963
- JENKINS-75534 DiscardOldBranch trait uses AuthorDate of HEAD commit to determine branch age rather than CommitDate by @nfalco79 in #1021
- Add a new trait to discard all tags with creation date older than the configured days. (#1017)
Mantainance
- Move all bitbucket traits to the proper package by @nfalco79 in #1025
- Remove legacy code, methods deprecated since 2.2.0 (see braking changes section) by @nfalco79 in #1002
- Customise the connection manager based on server/cloud
- Improve help texts by @Bananeweizen in #1013
- Close all BitbucketApi client and reduce the number of client instance in SCMSource when process repositories by @nfalco79 in #1018
- Bump com.puppycrawl.tools:checkstyle from 10.21.2 to 10.21.3 by @dependabot in #995
- Bump org.jenkins-ci.plugins:plugin from 5.7 to 5.9 by @dependabot in #1000
- Bump com.puppycrawl.tools:checkstyle from 10.21.3 to 10.21.4 by @dependabot in #1001
- Bump com.puppycrawl.tools:checkstyle from 10.21.4 to 10.23.0 by @dependabot in #1019
- Bump io.jenkins.tools.bom:bom-2.479.x from 4136.vca_c3202a_7fd1 to 4570.v1b_c718dd3b_1e by @dependabot in #1020
- Bump org.jenkins-ci.plugins:plugin from 5.9 to 5.10 by @dependabot in #1023
Breaking Changes
In this release has been remove legacy code of 1.x version.
If you have a Jenkins version with plugin version 1.x (8 years older) than follow this migration guide:
- Upgrade to Jenkins to latest LTS version
- Download a bitbucket-branch-source-plugin plugin 2.2.16
- Upgrade manually from Jenkins -> Manage Jenkins -> Plugins -> Advanced Settings -> Deploy Plugin -> browse and choose the downloaded file -> click on Deploy and restart Jenkins
- Edit each project and ensure to performe a save.
- Select each project and click "Scan Organization Folder Now" or "Scan Multibranch Project Now" to ensure the job configuration will be update and saved.
- Now you can proceed to update to the latest plugin version.
No impact for all people that already have a installed a plugin version greater or equals to 2.2.x.
Because of SECURITY-3578 it's suggested to perform a "Scan Organization Folder Now" or "Scan Multibranch Project Now" to ensure the job configuration will be update and saved removing the old serialized data.
New Contributors
- @Bananeweizen made their first contribution in #1013
- @madisparn made their first contribution in #1017
Full Changelog: 935.1.1...936.0.1
935.1.3
Bug Fixes
- JENKINS-75203 Include parent in build status notification by @ugrave in #1004
- JENKINS-75440 OrganizationFolder does not show Bitbucket DC project avatar by @nfalco79 in #1009
New Contributors
Full Changelog: 935.1.2...935.1.3
935.1.2
Bug Fixes
- Set the "refname" attribute of the build status notification by @nfalco79 in #1003
- JENKINS-75400 Building tags containing slashes is broken for Bitbucket Data Center by @nfalco79 in #1005
Full Changelog: 935.1.1...935.1.2
935.1.1
Bug Fixes
- JENKINS-74970 Could not send notifications to Bitbucket Server when pull request is from fork by @cronik in #998
Full Changelog: 935.1.0...935.1.1
935.1.0
Bug Fixes
- JENKINS-73012 The URL generated to link the tag job to Bitbucket Cloud is wrong by @nfalco79 in #992
- JENKINS-75340 DiscardOldBranchTrait doesn't respect keepForDays by @nfalco79 in #996
Features
- JENKINS-72780 The key value for the build notification is an UUID which couldn't be filter in required build feature of Bitbucket by @nfalco79 in #993
Mantainance
- Add cache for OAuth2 token to reduce the number of requests. by @nfalco79 in #997
- Bump io.jenkins.tools.bom:bom-2.479.x from 4023.va_eeb_b_4e45f07 to 4136.vca_c3202a_7fd1 by @dependabot in #988
Full Changelog: 935.0.0...935.1.0
935.0.0
Bug Fixes
- JENKINS-55927 Hook event should not trigger Branch Indexing by @Dohbedoh in #908
- BitbucketTagSCMHead does not receive an annotated tag date by @nfalco79 in #991
- JENKINS-74980 Pull requests are no longer fetchable by @nfalco79 in #989
Features
- Replace the avatar cache beta implementation with api provided by the scm-api plugin by @nfalco79 in #978 and in #990
Mantainance
- Bump com.puppycrawl.tools:checkstyle from 10.21.1 to 10.21.2 by @dependabot in #980
- Bump org.jenkins-ci.plugins:plugin from 5.5 to 5.7 by @dependabot in #987
Breaking Changes
The plugin now use the Avatar Image from scm-api, so BitbucketApi#getTeamAvatar instead to return com.cloudbees.jenkins.plugins.bitbucket.avatars.AvatarImage
returns the jenkins.scm.impl.avatars.AvatarImage
. The class is the same but different package. For who is using this API interface need to recompile own plugin and change the import package
Full Changelog: 934.4.2...935.0.0
934.4.2
Bug Fixes
- JENKINS-75225 When configure job the list of credentials returns HTTP 504 by @nfalco79 in #985
- JENKINS-75208 Checkout on bitbucket server fail with IllegalArgumentException "Name cannot contain '/'" by @nfalco79 in #986
Mantainance
Full Changelog: 934.4.1...934.4.2