Details
-
Type:
Bug
-
Status:
Verified
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.2
-
Fix Version/s: 2.2.0
-
Component/s: parameters
-
Labels:None
Description
I have a free style project setup that uses string parameters all with default values.
For example:
PAR1=val1
PAR2=val2
PAR3=val3
When I use the CLI to trigger a build and use the -p option any unspecified default parameters are not passed to the build. So if I override PAR2 from the CLI PAR1 and PAR3 are not presented to the build and are not listed when I look at which parameters where passed to the build. If I don't pass in any parameters on the CLI all three parameters are presented with their defaults.
I would expect that the build would still use the other two defaults and just override PAR2 since it was passed on the command line.
Fixed, commit https://github.com/hudson/hudson/commit/be673016c534748e45652bf68e7e12573250cfb4