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

Please format the disk usage information so that it doesn't stretch the Jenkins UI.

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: disk-usage-plugin
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      At the top of my project information page, the disk usage plugin is showing the following line of text:

      Disk Usage: Workspace 76 MB (On slaves 50 MB, Non slave workspaces 26 MB), Builds 181 MB (Locked -), Job directory 238 MB

      This text is displayed on a single line without any wrapping, and causes the right-hand panel to stretch much wider than it would do otherwise. This in turn causes other layout issues with the Jenkins UI.

      Please can the disk usage text be formatted so that it does not cause this problem.

      I guess it could either be given some hard line feeds, or else the container be given a constrained width to force it to wrap (it's currently width:auto).

      Thank you.

        Attachments

          Activity

          Hide
          grtessman Gary Tessman added a comment -

          I've requested a git pull for a fix that I put in for this here: https://github.com/jenkinsci/disk-usage-plugin/pull/31 - just waiting on the approvals.

          Although, the latest version seems to separate each disk space calculation on different lines - this would prevent the problem either way and allow for normal word-wrap regardless of the previous ul li fix to separate these on individual lines.

          You can update to the latest version (master) from GIT and or wait for this patch which I've requested to limit it to a max-width of 500 including margins.

          Show
          grtessman Gary Tessman added a comment - I've requested a git pull for a fix that I put in for this here: https://github.com/jenkinsci/disk-usage-plugin/pull/31 - just waiting on the approvals. Although, the latest version seems to separate each disk space calculation on different lines - this would prevent the problem either way and allow for normal word-wrap regardless of the previous ul li fix to separate these on individual lines. You can update to the latest version (master) from GIT and or wait for this patch which I've requested to limit it to a max-width of 500 including margins.
          Hide
          grtessman Gary Tessman added a comment -
          Show
          grtessman Gary Tessman added a comment - Please accept merge request: https://github.com/jenkinsci/disk-usage-plugin/pull/31

            People

            • Assignee:
              lvotypkova Lucie Votypkova
              Reporter:
              simonc_sfw Simon C
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: