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

Wrong servers or network glitches in settings.xml leads to False negative entries in HPI caches for pom.xml inputs

    Details

    • Similar Issues:

      Description

      This is a follow-up to https://github.com/jenkinsci/ci.jenkins.io-runner/pull/68 and https://github.com/jenkinsci/ci.jenkins.io-runner/issue/67 . The root cause of these issues is that plugins from pom.xml are being incorrectly resolved and cached as non-plugins if settings.xml does not refer a server with Jenkins plugins

      Acceptance criteria:

      • Caching logic is updated to be inconclusive when artifact directory is missing (no metadata file). On new runs the resolution should be re-attempted
      • Negative value should be cached if and only if the artifact directory exists but there is no HPI artifact

       

       

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -
          Show
          oleg_nenashev Oleg Nenashev added a comment - https://github.com/jenkinsci/custom-war-packager/pull/104  should address it 

            People

            • Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              oleg_nenashev Oleg Nenashev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: