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

container image: don't uncompress jenkins.war to /var/jenkins_home

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: docker
    • Labels:
      None
    • Similar Issues:

      Description

      Jenkins puts lots of temporary data (that's not part of the actual state, but automatically created) into the jenkins_home volume, by uncompressing the war there.

      This unnecessarily bloats up the jenkins_home volume (about 200MB!), which is very unpleasant when running many instances and for backups.

      I see several options for solving that problem:

      1. dont uncompress it at all
      2. mount it via fuse-zip
      3. uncompress to some tmpfs
      4. uncompress to an extra volume (which can be easily disposed)

       

        Attachments

          Activity

          Hide
          reitzmichnicht Michael Düsterhus added a comment -

          I recommend adding this:
          JENKINS_OPTS="--webroot=/var/cache/jenkins/war --pluginroot=/var/cache/jenkins/plugins"

          Show
          reitzmichnicht Michael Düsterhus added a comment - I recommend adding this: JENKINS_OPTS="--webroot=/var/cache/jenkins/war --pluginroot=/var/cache/jenkins/plugins"

            People

            • Assignee:
              csanchez Carlos Sanchez
              Reporter:
              metux Enrico Weigelt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: