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

install-plugins.sh uses always latest plugin version for transitive dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • docker
    • None
    • 2.357

      install-plugins.sh, the utility for automatic downloading of plugins bundled with the official Docker image support fails to use correct version for all transitive dependencies. This is caused by resolveDependencies() function at https://github.com/jenkinsci/docker/blob/master/install-plugins.sh#L112-L117 not taking dependency version into account at all.

      More specifically, I noticed this because I was developing a new feature to our internal Jenkins utilising the GitHub Organization Folder Plugin. My development was finished and today was the rollout but it turned out that it quite didn't work. After some log reading I realized that the plugin dependency hierarchy goes from GOFP 1.5 to Git Plugin 3.0.1 which requires Git Client which at the time I was developing the feature was 2.1.0 but a newer version, 2.2.0 was released about a week ago which does not seem to be compatible as it fails to resolve the actual GitHub (Enterprise) URL entirely.

            Unassigned Unassigned
            esuomi Esko Suomi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: