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

war-for-test makes for excessively large artifacts of Jenkins core

    XMLWordPrintable

    Details

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

      Description

      The war-for-test artifact is used so that functional tests in plugins can have jenkins.war of the selected version in their classpath, thus letting the WAR exploder do its work. Yet this means that the space consumption in the Maven repository for each release is considerably larger than it really should be, since we store the 65Mb WAR twice!

      Should explore whether there is some other means of locating jenkins.war that does not involve making a full copy. Can we store a placeholder JAR and have WarExploder look up jenkins.war using a relative path in the local repository? (And is there some way to force the WAR to be downloaded by the time the rest runs?) Or can the handler for the primary WAR artifact be customized to mark it as being valid to include in classpaths?

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            rtyler R. Tyler Croy made changes -
            Field Original Value New Value
            Workflow JNJira [ 156937 ] JNJira + In-Review [ 179446 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "core PR 2634 (Web Link)" [ 15043 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "jenkins-test-harness PR 43 (Web Link)" [ 15044 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "plugin-pom PR 40 (Web Link)" [ 15045 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "maven-hpi-plugin PR 65 (Web Link)" [ 16919 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "core PR 2899 (Web Link)" [ 16920 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "plugin-pom PR 65 (Web Link)" [ 16921 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "jenkins-test-harness PR 61 (Web Link)" [ 16922 ]
            jglick Jesse Glick made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            abayer Andrew Bayer made changes -
            Link This issue relates to JENKINS-45245 [ JENKINS-45245 ]
            abayer Andrew Bayer made changes -
            Link This issue relates to INFRA-1342 [ INFRA-1342 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: