• Evergreen - Milestone 2

      Problem statement

      During downloads, we put plugins as-is on the disk with their name and extension.
      Issue is, download URLs end with .hpi. This is inconsistent with what Jenkins does renaming to .jpi since ~1.5xx.
      I saw that a lot in JENKINS-54358, not sure where this comes from, but fixing it would at least avoid this situation in the future.

      Expected

      We should actively rename to .jpi after download.

          [JENKINS-54466] HPIs should be renamed JPIs after download

          Also TODO: check that the core issues a warning if both .jpi and .hpi are present for a given plugin.

          Baptiste Mathus added a comment - Also TODO: check that the core issues a warning if both .jpi and .hpi are present for a given plugin.

          Almost there FTR. Fixing a few tests here and there that were expecting .hpi. Slightly more than just replaceAll, since we actually want to detect if someone put an hpi by hand for instance, and not just ignore these files when reporting versions for example.

          Baptiste Mathus added a comment - Almost there FTR. Fixing a few tests here and there that were expecting .hpi. Slightly more than just replaceAll, since we actually want to detect if someone put an hpi by hand for instance, and not just ignore these files when reporting versions for example.

            batmat Baptiste Mathus
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: