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

disk usage plugin: wrong workspace size with global workspaces

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • disk-usage-plugin
    • None
    • suse linux, jenkins 1.436

      I've got several maven build jobs that uses the same build workspace. (Advanced Job Options > Use custom workspace).
      The disk usage plugin counts every job and its workspace total together.
      The total amount of Workspace is truely wrong.
      Plugin should look on "Use custom workspace" and count this size only once.
      (see attachement)

          [JENKINS-11546] disk usage plugin: wrong workspace size with global workspaces

          Bruno Marti added a comment -

          screenshot of wrong total amount of workspace

          Bruno Marti added a comment - screenshot of wrong total amount of workspace

          Why do you use multiple jobs on one workspace?

          Kanstantsin Shautsou added a comment - Why do you use multiple jobs on one workspace?

          Bruno Marti added a comment -

          to save disk space and build time.
          I've got about 100 maven moduls to update from SVN and build with its dependencies

          Bruno Marti added a comment - to save disk space and build time. I've got about 100 maven moduls to update from SVN and build with its dependencies

          How do you handle dependencies with separate jobs?

          Kanstantsin Shautsou added a comment - How do you handle dependencies with separate jobs?

          Bruno Marti added a comment -

          sorry with "its dependencies" I meant that some of my tiny m2 modules are dependencies of other modules and the build order is fix defined.

          The jenkins jobs have always the same "custom workspace".
          Perhaps job with same custom workspace option should not count in "total amount"

          Bruno Marti added a comment - sorry with "its dependencies" I meant that some of my tiny m2 modules are dependencies of other modules and the build order is fix defined. The jenkins jobs have always the same "custom workspace". Perhaps job with same custom workspace option should not count in "total amount"

            Unassigned Unassigned
            mbr Bruno Marti
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: