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

Fix the WAR download shim now incrementals has been merged

    • Evergreen - Milestone 1

      Since https://github.com/jenkinsci/jenkins/pull/3394 got merged tomorrow, now the way fingerprints are listed changed and https://github.com/jenkins-infra/evergreen/blob/612bb12b30325b5ded7a5ce6e8df830a74e87777/scripts/shim-startup-wrapper.sh#L10-L13 does not work anymore.

       

      But now we can actually do it a more easily and cleanly, using the incremental repository http://repo.jenkins-ci.org/incrementals/org/jenkins-ci/main/jenkins-war/

       

      So I'm going to use the maven-metadata.xml file there to find out the latest version, and then use the standard way to get checksum provided by artifactory to fix this. Could be less flaky overall, and anyway we do want to use incrementals in Essentials obviously.

       

      Why now? Well, without this fix jenkins/evergreen does not even start anymore...

          [JENKINS-51130] Fix the WAR download shim now incrementals has been merged

          Baptiste Mathus created issue -
          Baptiste Mathus made changes -
          Assignee Original: R. Tyler Croy [ rtyler ] New: Baptiste Mathus [ batmat ]
          Baptiste Mathus made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Baptiste Mathus made changes -
          Description Original: Since [https://github.com/jenkinsci/jenkins/pull/3394] got merged tomorrow, now the way fingerprints are listed changed and [https://github.com/jenkins-infra/evergreen/blob/612bb12b30325b5ded7a5ce6e8df830a74e87777/scripts/shim-startup-wrapper.sh#L10-L13] does not work anymore.

           

          But now we can actually do it a more easily and cleanly, using the incremental repository [http://repo.jenkins-ci.org/incrementals/org/jenkins-ci/main/jenkins-war/]

           

          So I'm going to use the {{maven-metadata.xml}} file there to find out the latest version, and then use the standard way to get checksum provided by artifactory to fix this. Could be less flaky overall, and anyway we do want to use incrementals in Essentials obviously.
          New: Since [https://github.com/jenkinsci/jenkins/pull/3394] got merged tomorrow, now the way fingerprints are listed changed and [https://github.com/jenkins-infra/evergreen/blob/612bb12b30325b5ded7a5ce6e8df830a74e87777/scripts/shim-startup-wrapper.sh#L10-L13] does not work anymore.

           

          But now we can actually do it a more easily and cleanly, using the incremental repository [http://repo.jenkins-ci.org/incrementals/org/jenkins-ci/main/jenkins-war/]

           

          So I'm going to use the {{maven-metadata.xml}} file there to find out the latest version, and then use the standard way to get checksum provided by artifactory to fix this. Could be less flaky overall, and anyway we do want to use incrementals in Essentials obviously.

           

          *Why now? Well, without this fix jenkins/evergreen does not even start anymore...*
          Baptiste Mathus made changes -
          Sprint New: Essentials - Milestone 1 [ 511 ]
          Baptiste Mathus made changes -
          Issue Type Original: Story [ 10002 ] New: Task [ 3 ]
          Baptiste Mathus made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
          Baptiste Mathus made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Baptiste Mathus made changes -
          Remote Link New: This issue links to "PR (Web Link)" [ 20623 ]
          Baptiste Mathus made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: