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

With multipe versions installed, job config doesn't use the configured version

XMLWordPrintable

    • 5.4.1

      I have configured 2 installations of Dependency Check: 7.4.4 and 8.3.1 – in that order. Now i have a freestyle job, where I configured 8.3.1 to be used. The job runs and all is fine.
      Now, I needed to change something in the job (not related to DC), saved and ran the job again. Now it fails because DC doesn't accept a parameter I am using! When going into configuration again, Jenkins shows '7.4.4' as being selected and even in the saved config.xml I see '7.4.4'.

      It seems that when loading the configuration for a job, the DC-plugin is not setting the configured installation, but instead simply sets the first installation it finds. Clicking 'Save' then actually does set this 'changed' installation in the configuration, which can then break a working build, or (even worse) give different results because a different version of DC is used!

            nfalco Nikolas Falco
            malice00 Roland Asmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: