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

Fix the WAR download shim now incrementals has been merged

    XMLWordPrintable

Details

    • Evergreen - Milestone 1

    Description

      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...

      Attachments

        Issue Links

          Activity

            batmat Baptiste Mathus created issue -
            batmat Baptiste Mathus made changes -
            Field Original Value New Value
            Assignee R. Tyler Croy [ rtyler ] Baptiste Mathus [ batmat ]
            batmat Baptiste Mathus made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            batmat Baptiste Mathus made changes -
            Description 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.
            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...*
            batmat Baptiste Mathus made changes -
            Sprint Essentials - Milestone 1 [ 511 ]
            batmat Baptiste Mathus made changes -
            Issue Type Story [ 10002 ] Task [ 3 ]
            batmat Baptiste Mathus made changes -
            Priority Minor [ 4 ] Blocker [ 1 ]
            batmat Baptiste Mathus made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            batmat Baptiste Mathus made changes -
            Remote Link This issue links to "PR (Web Link)" [ 20623 ]
            batmat Baptiste Mathus made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            batmat Baptiste Mathus made changes -
            Labels essentials essentials-triggered essentials essentials-triggered evergreen
            batmat Baptiste Mathus made changes -
            Labels essentials essentials-triggered evergreen essentials essentials-triggered evergreen evergreen-triggered
            batmat Baptiste Mathus made changes -
            Labels essentials essentials-triggered evergreen evergreen-triggered evergreen evergreen-triggered

            People

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

              Dates

                Created:
                Updated:
                Resolved: