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

Treat plugin dependency mismatches involving snapshots as nonfatal

    Details

    • Similar Issues:
    • Epic Link:

      Description

      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.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Epic Link JENKINS-50686 [ 189770 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-51594 [ JENKINS-51594 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Labels lts-candidate lts-candidate plugin-manager
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-21486 [ JENKINS-21486 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 3551 (Web Link)" [ 21208 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            Hide
            jglick 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
            
            Show
            jglick 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 made changes -
            Description 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 it the version comparison was not necessarily accurate. 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.
            jglick Jesse Glick made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            olivergondza Oliver Gond┼ża made changes -
            Labels lts-candidate plugin-manager plugin-manager

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: