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') {