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

Select compatible plugin versions using a BOM

    XMLWordPrintable

    Details

    • Epic Link:
    • Similar Issues:

      Description

      Currently there is no easy way to use pipeline in unit tests.

      You need to add all of the required deps and exclude lots of conflicting versions of dependencies.

      It would be nice if I could just add a dependency on the aggregator with scope test and be done with it - but this also is not possible due to upper-bounds conflicts.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Add latest (baseline-compatible) versions of those plugins you are actually using in the test.

            Do not use exclusions. Just declare test-scoped dependencies on any otherwise transitive dependencies that requireUpperBoundDeps complains about.

            Show
            jglick Jesse Glick added a comment - Add latest (baseline-compatible) versions of those plugins you are actually using in the test. Do not use exclusions. Just declare test -scoped dependencies on any otherwise transitive dependencies that requireUpperBoundDeps complains about.
            Hide
            jglick Jesse Glick added a comment -

            Converting to a more general RFE that the Jenkins project should publish a BOM somewhere you could import which specifies consistent versions of all plugins listed (incl. transitive dependencies) in the setup wizard’s suggested list; to be refreshed at least with every LTS line (versioned accordingly), and perhaps more often, taking latest versions from the update center.

            Show
            jglick Jesse Glick added a comment - Converting to a more general RFE that the Jenkins project should publish a BOM somewhere you could import which specifies consistent versions of all plugins listed (incl. transitive dependencies) in the setup wizard’s suggested list; to be refreshed at least with every LTS line (versioned accordingly), and perhaps more often, taking latest versions from the update center.
            Hide
            jglick Jesse Glick added a comment -

            After getting some experience with the effect of a BOM on plugin POMs, I am becoming more convinced that this is the right direction. For example, common POM maintenance can be performed by adding entries to dependencyManagement, but just using a newer parent would be a lot simpler.

            Show
            jglick Jesse Glick added a comment - After getting some experience with the effect of a BOM on plugin POMs, I am becoming more convinced that this is the right direction. For example, common POM maintenance  can be performed by adding entries to dependencyManagement , but just using a newer parent would be a lot simpler.
            Hide
            jglick Jesse Glick added a comment -

            R. Tyler Croy suggest adding this to an Essentials sprint.

            Show
            jglick Jesse Glick added a comment - R. Tyler Croy suggest adding this to an Essentials sprint.
            Hide
            rtyler R. Tyler Croy added a comment -

            Jesse Glick, could you expand on why you're suggesting that? None of the work that I'm doing at the moment is around test infrastructure for plugins/core per se (ATH work excepted), and is mostly geared around delivering the Jenkins Essentials image.

            I can see a tenuous link here, but I'm not sure I fully understand why this suggests Jenkins Essentials prioritization right now
            ?

            Show
            rtyler R. Tyler Croy added a comment - Jesse Glick , could you expand on why you're suggesting that? None of the work that I'm doing at the moment is around test infrastructure for plugins/core per se (ATH work excepted), and is mostly geared around delivering the Jenkins Essentials image. I can see a tenuous link here, but I'm not sure I fully understand why this suggests Jenkins Essentials prioritization right now ?
            Hide
            jglick Jesse Glick added a comment -

            Added to JENKINS-50686 since we might be able to use JENKINS-50953 to update the contents of the BOM.

            Show
            jglick Jesse Glick added a comment - Added to JENKINS-50686 since we might be able to use JENKINS-50953 to update the contents of the BOM.

              People

              • Assignee:
                Unassigned
                Reporter:
                teilo James Nord
              • Votes:
                4 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: