Upgrade Notes
- Operations center Cloudbees Assurance Program plugin changes since 2.580.2.38436
-
The following plugins have been added to the operations center Cloudbees Assurance Program since 2.580.2.38436:
-
Cloudbees OAuth Client Credentials Plugin (
cloudbees-oauth-credentials)
-
- Controller Cloudbees Assurance Program plugin changes since 2.580.2.38436
-
The following plugins have been added to the controller Cloudbees Assurance Program since 2.580.2.38436:
-
Cloudbees OAuth Client Credentials Plugin (
cloudbees-oauth-credentials)
-
Feature Enhancements
- Expanded options for
lockstep in HA controllers -
High Availability (HA) controllers do not support the Lockable Resources plugin (
lockable-resources) itself. HA controllers can emulate thelockPipeline step, but initially supported only the (implicit)resourceoption.
If you install the Lockable Resources plugin and configure resources with labels, the label option (with quantity set to 1) and the variable option are now supported.
The Lockable Resources page displays only configured resources, and not the actual lock status.
The skipIfLocked and inversePrecedence options are also supported.
For more information, refer to Emulate the lock step in HA controllers
- High Availability controllers now display locks held by running builds
-
Since HA controllers do not directly support the Lockable Resources plugin (
lockable-resources), a new Locks page now displays the locks held by running builds. For more information, refer to Emulate the lock step in HA controllers
- New administrative monitor flags non-CAP plugins on HA controllers
-
The High Availability Checks page now includes an administrative monitor for non-CAP plugins installed on an HA controller, since they might cause issues in HA mode. Expanding the monitor lists each non-CAP plugin by name, ID, and version, and links to the documentation on handling non-CAP plugins.
- High Availability Checks now warns about missing Pipeline step emulation
-
On an HA controller, the High Availability Checks page now displays a warning when the Pipeline: Build Step plugin (
pipeline-build-step) or the Lockable Resources plugin (lockable-resources) is enabled, but its corresponding Pipeline steps are not yet emulated.
- New High Availability Checks page shows every HA administrative monitor on one page
-
A new High Availability Checks page lists all HA administrative monitors on a single page. The most important monitors appear first, grouped into Failing, Failing (dismissed), and Passing tabs.
On the Manage Jenkins page, a banner administrative monitor reports the number of failing HA administrative monitors and links to the High Availability Checks page. The individual HA administrative monitor warnings are no longer shown on that page.
- Managed controllers require confirmation before enabling High Availability
-
Enabling High Availability on the managed controller configuration page now shows a confirmation dialog. It links to the HA documentation and requirements, and you must confirm before HA mode is enabled.
- More reliable termination of Pipeline builds that have been aborted
-
Previously, if a Pipeline build was aborted but did not in fact terminate promptly on its own, a message was printed to the build log and a sidebar link would appear prompting you to forcibly terminate all running steps. If that did not work after some more time, another offer was made to hard-kill the build. Now these escalation steps are automatic, and also apply even if the controller is restarted while the build is still running.
If a job is marked to not support concurrent builds with the Abort previous builds option, the new build now waits for the previous one to exit, which should now happen promptly.
The timeout step has also been modified.
If the timeout expires and its body does not exit promptly on its own, the step no longer simply tries to terminate nested steps, which did not always work.
Instead, an abort signal is sent to the build, which escalates in the same way to guarantee timely termination.
The catchError and warnError steps are also modified to use catchInterruptions: false by default, so that aborted builds are more likely to terminate cleanly, rather than proceed to subsequent stages and require escalation.
The …/term and …/kill HTTP endpoints to forcibly terminate a build no longer exist; use the standard …/stop HTTP endpoint instead.
- Bind a Jenkins OAuth client credential to a Cloudbees CI service account
-
You can now bind a Jenkins OAuth client credential that uses the
client_credentialsgrant to a Cloudbees CI service account, in addition to a Jenkins user. The client gets exactly the permissions that RBAC grants the service account. For more information, refer to Bind an OAuth client credential to an identity.
Resolved Issues
- Pipelines triggered by events no longer trigger more than one build after a job reload or after a job is deleted and recreated
-
Previously, an event could trigger more than one build after the job’s configuration was reloaded from disk, or after the job was deleted and recreated. Each event now starts the Pipeline once on any one replica.
- Shared configurations from the operations center no longer apply incompletely on HA controllers
-
On a controller running in HA mode, a configuration shared from the operations center could be applied incompletely on some replicas. Settings that failed to load were silently left out, and the replicas could alternate between the complete and incomplete versions. Known impact: Amazon EC2 clouds shared from the operations center could intermittently show no agent templates, causing builds to wait indefinitely for EC2 agents. Shared configurations are now applied consistently and completely on all replicas.
- Traffic between controllers restricted by network policies
-
When
NetworkPolicy.Enabledis set totruein the Cloudbees CI Helm chart, controllers no longer accept HA traffic from other controllers on the Hazelcast (5701), HTTP (8080), and agent (50000) ports. Each HA managed controller accepts this traffic only from its own replicas, and non-HA controllers do not accept it from any other controller. An HA managed controller is isolated only whenNetworkPolicy.Enabledis set totruein both the operations center Helm release and the Helm release of the managed controller namespace.
Existing HA managed controllers keep working after the upgrade and are isolated by a rolling restart, without downtime:
-
HA managed controllers in the operations center namespace are isolated when the operations center restarts after the upgrade of its Helm release.
-
HA managed controllers in other namespaces or clusters are isolated after the Cloudbees CI Helm release in their namespace is upgraded, on their next rolling upgrade (for example, when updating their image), reprovision, or operations center restart.
Non-HA managed controllers are not restarted.
|
If you later set
To limit this, set |
For more information, refer to Enable or disable NetworkPolicy for HA controllers in other namespaces or clusters.
- Error when granting
Job/Discoverbut notJob/Readin an HA controller (other code paths) -
If a user had
Job/Discoverpermissions but notJob/Readpermissions on a job, several HA controller code paths looked the job up with an API that returnedAccessDeniedException. That was logged as an error and could break parts of the UI. Those lookups now treat a job you cannot read as not found, so it is concealed as expected. Affected paths include the exported builds API, the build reverse proxy, the stage view, the HA link, the replicated computers UI, the replicated queue, build deletion and previous-build abort, and the emulated build step.
- Failure to load extremely complex Pipeline build records on Java 25
-
The
workflow-completed/flowNodeStore.xmlfile records each step of a completed Pipeline build. If a build ran a very large number of distinct Pipeline steps whose arguments (such as the message passed to theechostep) included XML metacharacters such as>or", this file would include a correspondingly large number of XML entity escapes. When running Java 25, if the number of such escapes exceeded 100,000, the build was not loadable from disk (for example, after a controller restart). This has been fixed, restoring the Java 21 behavior.
- JUnit test results not displayed for large test reports on Java 25
-
Previously, on controllers running Java 25, builds with large JUnit test reports could display no test results after the controllers restarted. This mostly affected reports with long stack traces or a large amount of captured test output. The test report page showed 0 tests, even though the results were recorded correctly. Test results of any size now load and display correctly on Java 25, with no additional configuration required.
- Managed controller provisioning no longer fails when another controller has no domain assigned yet
-
When multiple managed controllers were provisioned together, such as from a Cloudbees CI CasC bundle, provisioning could fail for a controller if another controller had not yet been assigned a domain. The affected controller was left in an error state requiring manual action to recover. Managed controllers now provision successfully regardless of another controller’s domain assignment timing.
- Folder-level restricted credentials now support CasC operations
-
Previously, CasC-based operations on restricted credentials inside folders did not work correctly. Exporting a restricted credential produced a blank
folderRestrictedCredentialsProperty: {}entry. A CasC-based controller that defined a restricted credential inside a folder failed to boot with aCasCException. Creating an item with a folder-scoped restricted credential through the HTTP API resulted in a500response. These operations now work correctly.
- Removed the non-functional Require PKCE checkbox from OAuth client credentials
-
The Require PKCE checkbox on the OAuth client credential type (and the matching
pkceRequiredCasC field in thejenkins.yamlfile) has been removed. It never had any effect as the authorization server always required PKCE for every authorization-code client, as mandated by OAuth 2.1. Existing credentials and configuration bundles that still set this field will continue to load without error; the setting is simply ignored.