Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48593

System property hudson.consoleTailKB is ignored

XMLWordPrintable

      The system property "hudson.consoleTailKB" is supposed to control how many KB of console log is shown in the default console view.

      It is used in two places:

      https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/model/Run/console.jelly#L38
      https://github.com/jenkinsci/workflow-support-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/workflow/support/actions/LogActionImpl/index.jelly#L39

      Both jelly scripts expect a method getSystemProperty(key) on the Functions class. But that method does not exist. Therefore the default of 150 KB is always used and the system property is ignored.

      The fix is available in this PR: https://github.com/jenkinsci/jenkins/pull/3200

       

            jan_z Jan Zuchhold
            jan_z Jan Zuchhold
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: