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