Releases: jenkinsci/bitbucket-branch-source-plugin
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
934.4.1
Bug Fixes
- JENKINS-75208 Checkout on bitbucket server fail with IllegalArgumentException "Name cannot contain '/'" by @nfalco79 in #981
Full Changelog: 934.4.0...934.4.1
934.4.0
Bug Fixes
- JENKINS-75184 CredentialsMatcher fail with ECR Security Token by @nfalco79 in #977
- JENKINS-75188 NPE in StandardUsernameCredentials.hashCode when has empty credentials by @nfalco79
Mantainance
- Extract event anonymous inner classes from webhook processor. by @nfalco79 in #966
- Migrate from EE 8 to EE 9 by @basil in #971
- Add checkstyle for file license header
- Bump org.jenkins-ci.plugins:plugin from 5.4 to 5.5 by @dependabot in #967
- Bump io.jenkins.tools.bom:bom-2.479.x from 3875.v1df09947cde6 to 3893.v213a_42768d35 by @dependabot in #968
- Bump org.assertj:assertj-core from 3.27.2 to 3.27.3 by @dependabot in #975
- Bump io.jenkins.tools.bom:bom-2.479.x from 3893.v213a_42768d35 to 4023.va_eeb_b_4e45f07 by @dependabot in #979
Full Changelog: 933.3.2...934.4.0
934.3.2
Bug Fixes
- JENKINS-75160 NO_PROXY configuration seems to be ignored by @nfalco79 in #972
- JENKINS-75157 Bitbucket client fail to retrieve resource with HTTP 404 for bitbucket server (#970) by @nfalco79 in #970
Full Changelog: 934.3.1...934.3.2