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

Treat plugin dependency mismatches involving snapshots as nonfatal

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core

      Split out from a comment in JENKINS-51594: if PluginWrapper.resolvePluginDependencies detects an apparent violation of plugin dependencies due to a version comparison involving a Maven snapshot, it should treat this as a warning rather than a hard error, since this is a developer workflow and the version comparison was not necessarily accurate.

          [JENKINS-52665] Treat plugin dependency mismatches involving snapshots as nonfatal

          Jesse Glick added a comment -

          Mostly relevant for making JenkinsRule-based tests pass locally; also affects interactive run, though this can be worked around:

          mvn -Dhudson.PluginWrapper.dependenciesVersionCheck.enabled=false hpi:run
          

          Jesse Glick added a comment - Mostly relevant for making JenkinsRule -based tests pass locally; also affects interactive run, though this can be worked around: mvn -Dhudson.PluginWrapper.dependenciesVersionCheck.enabled=false hpi:run

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: