Issue
In CloudBees CD 10.0.X, when running jobs in some Windows agents, if we check the logs during the job execution we can see them properly, but after the job execution the log page appears empty in the application.
If we open the log file related to these jobs directly in the workspace, we can see that the file contents are there.
Environment
-
CloudBees CD (CloudBees Flow) 10.0.X.
Workaround
As a workaround in CD v10.0.x installations, we can modify in all of the CloudBees CD Web Servers in the cluster, the file yourCDInstallationPath/apache/htdocs/commander/WorkspaceFileSection.php, line 568 from
if ($this->convertCharset != '') {
to
if ($this->convertCharset != '' && strtolower($this->convertCharset) != 'cp437') {
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.