-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
-
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!