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

Optimize get log method

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Follow-up issue for https://github.com/jenkinsci/jenkins/pull/2607

      > Current implementation of getLog(int maxLines) reads entire log file.
      In this PR I'm addressing this issue. Instead of reading all lines from start, I'm readying only maxLines from end of log.

        Attachments

          Activity

          oleg_nenashev Oleg Nenashev created issue -
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: