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

Implement the Jenkins upgrade by the evergreen-client

    • Evergreen - Milestone 1

      For Milestone 1, we need to implement the fact the evergreen-client upgrades Jenkins.

      From a high level, this should be done as follows:

      1. The client is instructed to perform an upgrade (Not sure: I think this is JENKINS-50848)
      2. It downloads what needs to be (plugins, new war) and puts them at the expected place for next startup (see below)
      3. Restart Jenkins to pick-up update
      4. Health-check it, see JEP-304
      5. If unhealthy, roll it back to previous, see JEP-302

      Open questions

      • What if the current state, i.e. even before upgrading, is unhealthy already?
      • "expected place for next startup": we should probably define some location on the disk for caching those things, for instance to be able to revert in case we need to rollback without downloading things again, etc.

          [JENKINS-50958] Implement the Jenkins upgrade by the evergreen-client

          Baptiste Mathus created issue -
          Baptiste Mathus made changes -
          Epic Link New: JENKINS-49844 [ 188828 ]
          R. Tyler Croy made changes -
          Rank New: Ranked lower
          R. Tyler Croy made changes -
          Rank New: Ranked higher
          R. Tyler Croy made changes -
          Link New: This issue is blocked by JENKINS-51272 [ JENKINS-51272 ]
          R. Tyler Croy made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          R. Tyler Croy made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Baptiste Mathus made changes -
          Labels Original: essentials New: essentials evergreen
          Baptiste Mathus made changes -
          Labels Original: essentials evergreen New: evergreen

            rtyler R. Tyler Croy
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: